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: Skin Token for xmlpackages not working

  1. #1
    rtomer is offline Member
    Join Date
    Jan 2010
    Posts
    39

    Default Skin Token for xmlpackages not working

    Hello everyone,

    according to Skin Tokens Manual,
    I was using <asp:Literal ID="ltrfeatureProd" runat="server" Text='<%$ Tokens:XMLPACKAGE, featuredproducts.xml.config %>' />

    but it didn't turn up on the page.
    I have tried using http://localhost/web/engine.aspx?xml...aturedproducts
    and it was fine
    but as a token it is returning nothing. . .
    It took me half of day to get it done. . . .
    as <asp:Literal ID="ltrfeatureProd" runat="server" Text='<%$ Tokens:XmlPackage, featuredproducts.xml.config %>' />
    (accidently I put it and to my wonder it works..)

    then I thought of putting a note over here as me also searching here for help.
    And to Aspdotnetstorefront Guys: If these tokens are case sensitive then please mention that or correct it on the Skin Tokens Manual


    Thanks

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    No, it shouldn't matter. The 'Tokens:XMLPACKAGE' expression (for example) will be converted using the ToLowerInvariant() method before the switch statement.