Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: embed topic in aspx page

  1. #1
    jhoskinson is offline Member
    Join Date
    Feb 2009
    Location
    Los Angeles, CA
    Posts
    36

    Default embed topic in aspx page

    question about the instructions on this page of manual:

    http://manual.aspdotnetstorefront.com/p-853-topics.aspx

    specifically this instruction:
    Embedding in a .aspx page in this format: <aspdnsf:Topic ID="IDName" runat="server" TopicName="TopicName" />
    where do I find the Topic IDName?

  2. #2
    AspDotNetStorefront Staff - Nicole is offline Administrator
    Join Date
    Jan 2010
    Posts
    41

    Default

    The ID doesn't make any difference, you can put anything you like in that part of the code that is descriptive of what the topic is. That can be used in later parts of the code if you like, to reference that topic, but it really makes no difference what you put there, the software will look up the topic by the "TopicName" value.

  3. #3
    jhoskinson is offline Member
    Join Date
    Feb 2009
    Location
    Los Angeles, CA
    Posts
    36

    Angry Finally getting around to testing this - still doesn't work

    I created an aspx file called B001.aspx which sits at http://www.beadaholique.com/skins/Sk...ects/B001.aspx

    The file is just:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Print Friendly</title>
    </head>
    <body>
    <aspdnsf:Topic ID="print" runat="server" TopicName="ba-project-B001" /> 
    </body>
    </html>
    I also tried simply:
    Code:
    <aspdnsf:Topic ID="print" runat="server" TopicName="ba-project-B001" />
    Neither works - I keep getting an error page. What am I doing wrong?
    Last edited by jhoskinson; 06-21-2011 at 11:37 AM.

  4. #4
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    It needs to be in the root of your website. It also needs to have a code-behind file b001.aspx.cs or b001.aspx.vb and there needs to be other "stuff" in the files to make them work.

    Look at your shoppingcart.aspx and shoppingcart.aspx.cs (or .vb) files to see the relationships.

    Having said that, what's wrong with creating a topic?
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!