locked
UICulture is blank RRS feed

  • Question

  • User-1159791214 posted

    I am having problem with localizing the index page.

    i have put a drop down list on index named Language1.( options are hindi and english US)

    Now i am trying to set UICulture programmatically by overriding the InitializeCulture method in Page.

    But the problem is that when i try to get value from dropdown by specifying

    string lang=Request["Language"] i get blank value in lang.The code is working fine when i hardcode lang for "en-US" or "hi" etc..

    My index page also uses a master page.

    Any takers for this ?? 

     

    Friday, September 7, 2007 1:39 AM

Answers

  • User-503940700 posted

     Check this article:

    http://www.codeproject.com/useritems/localization.asp

    Notice the way I am accessing the dropdown's value from the Forms POST data.

    Hope this helps,

    Vivek 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, September 7, 2007 3:23 AM