master page using

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brettokumar
    New Member
    • Jul 2008
    • 31

    master page using

    hi
    im using master page when im click lang btn like english in my aspx form at run time caption values are change in my aspx form only but not change in my master page control caption wat can i do plz share ur knowledge
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    could you clarify/re-word your question ? and it seems like on your master page, when you click a button, values are being changed that you do not want to be changed(e.g. the captions) ? if this is the case or something similar, could you post some code so we can help you better

    joedeene

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Use the same logic you did to switch the language in the other controls/pages and apply it to your master page.....

      If in your <%@ Page %> directive you have your Culture and UICulture to "auto"
      ( Eg: <%@ Page ............ Culture="auto" UICulture="auto " %>) then the master page will pick up the user's cultural settings and use them.

      If you don't want this to happen you need to over ride the InitializeCultu re() method and specify the culture settings that you want.

      Comment

      Working...