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 2 of 2

Thread: Popup doesn't read appconfig through topic?

  1. #1
    Tek7 is offline Senior Member
    Join Date
    May 2006
    Posts
    137

    Default Popup doesn't read appconfig through topic?

    I'm using the popup.aspx to open a topic. It pulls in the topic correctly but within the topic I have: (!AppConfig Name="StoreName"!) and it doesn't register it as code, instead it just prints out the code. Suggestions?

  2. #2
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    The reason you are not able to use skin tokens in the popup.aspx page is because it does not inherit from the skinbase class. Skin tokens are all handled in the skinbase class. You might be able add the skinbase inheritance place of the System.Web.UI.Page inheritance.

    Then your skin token should be able to be used.

    *Note: This causes the popup.aspx to load the skin.

    It would be better to use something like

    PageTitle = AppLogic.AppConfig("StoreName"); This gets the string for the StoreName from the appconfig without using the skintoken.
    Last edited by John Reasons; 02-16-2010 at 08:52 AM.