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: How to apply string resources in ML 9.0

  1. #1
    Sarky is offline Member
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    74

    Question How to apply string resources in ML 9.0

    Hi,

    I'm used to use

    HTML Code:
    <a href="default.aspx">(!GetString Name="menu.Home"!)</a>
    to get the string resource of menu.Home.

    Now in 9.0 I should use something like

    HTML Code:
    <a href="default.aspx"><%$ Tokens:StringResource, menu.Home %></a>
    When I do this I'm being send to the InvalidRequest.aspx page.

    Any ideas how to do this.

    Thnx!!
    Regards,

    Inge van Sark
    BitWise

    Using ML 8.0 VB and ML 9.0 VB

  2. #2
    Sarky is offline Member
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    74

    Talking Found it.

    You need to use a literal:

    HTML Code:
    <asp:literal runat="server" Text="<%$ Tokens:stringresource, menu.Contact %>" />
    Regards,

    Inge van Sark
    BitWise

    Using ML 8.0 VB and ML 9.0 VB