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?
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?
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.