locked
Problem in localization of Calendar Control RRS feed

  • Question

  • User1335659945 posted

    I have used an ASP.NET Calendar control in one of my page...I have also created 2 resource files. One for default locale and other for hindi locale. When i run that page in my local server... Its running fine. But when I upload it on server, the calendar is showing other months as visible month for hindi locale. It is taking the current day as default visible month for hindi locale.. For example, If today is 4th Feb, 2011.. The calendar is showing April as default visible month...

    Do I need to do some change in server date and time??? Please help!!!!!!!!!!!!!!!!

    Friday, February 4, 2011 10:27 AM

Answers

  • User2019981500 posted

    Hi,

    I have not worked with Calender Locallization,But observing below line in your post,

    "If today is 4th Feb, 2011.. The calendar is showing April as default visible month..."

    I could make out that  hindi calendar is taking 4th(day) of eng calendar as 4Month(which is april)

    Right?

    So I think you might need to change  Date localeFormat or <globalization culture="auto" /> in web.config and EnableScriptGlobalization="true"

    Hey,I just assume.You can try..

    Regards

    shabir


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 6, 2011 3:15 AM