French or English folder

Last post 11-04-2009 5:54 PM by chalmyl. 2 replies.

Sort Posts:

  • French or English folder

    11-04-2009, 1:40 PM
    • Member
      1 point Member
    • chalmyl
    • Member since 10-30-2009, 9:37 AM
    • Posts 10

    Hi,

    I am totaly new at creating web pages. Here is what I am trying to do:

    I have created an .asp page that contains FAQs. I am using a .resx page to manage the french and english translation, which is working well.

    My problem is that I have created one english and one french page for the answers and I don't know how to direct the user to the proper page since I have only one page where the link to the answer is created.

    Ex: <asp:HyperLink ID="hpl963" runat="server" NavigateUrl="~/OES_FAQs_Answers.aspx#Q963"> Can I retain and use the personal signatures I already have in Outlook?</asp:HyperLink>

    I have to be able to tell to the "NavigateUrl" to go to "~/French/OES_FAQs_Answers.aspx#Q963" or "~/English/OES_FAQs_Answers.aspx#Q963"

    Here is my structure:

    Structure

    Can somebody help me?

    Thanks!

     

     

     

     

  • Re: French or English folder

    11-04-2009, 4:41 PM
    • Member
      1 point Member
    • chalmyl
    • Member since 10-30-2009, 9:37 AM
    • Posts 10

    I think I maybe close.  I tried something like this:

     

    Dim strURL As String

    If strLanguage = "EN" Then 

    strResFile = "EIDS.FAQs_E" 

    strURL = "English"  

    Else

    strResFile = "EIDS.FAQs_F"

    strURL = "French" 

    End If

    hpl972.NavigateUrl = "~/FAQs/&strURL/OES_FAQs_Answers.aspx#Q972"

     

    Help again!! 

     

  • Re: French or English folder

    11-04-2009, 5:54 PM
    Answer
    • Member
      1 point Member
    • chalmyl
    • Member since 10-30-2009, 9:37 AM
    • Posts 10

    I FINALLY found a solution!!!  I had to add the navigateURL in the .resx file...

    Thanks anyway !!

Page 1 of 1 (3 items)