RadCalendar and Culture Issues

3 posts, 1 answers
  1. Mark
    Mark avatar
    97 posts
    Member since:
    Nov 2007

    Posted 15 Jan 2008 Link to this post

    Hi

    I am using Visual Studio 2008, .NET 3.5 and C#.

    I hope this isn't a dumb question as I don't know enough about culture.

    I have sent my RadCalendar to - CultureInfo="English (Australia)"

    When building my project this shows the correct date format for Australia: dd/mm/yy.

    However when we host our site on an American server, my browser shows that format: mm/dd/yy.

    I thought that as the browser is a client it would convert it to the local culture, but it is almost as if it is going by the server's culture.

    I hope this makes sense.


    Kind regards

    Mark Eaton
  2. Answer
    Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 17 Jan 2008 Link to this post

    Hello Mark,

    Have you tried setting the UICulture of the page to the culture of your choice as well to see whether this helps? In order to understand the Culture and UICulture properties of ASP.NET page I suggest you refer to the following article from MSDN:

    http://msdn2.microsoft.com/en-us/bz9tc508.aspx

    Best regards,
    Stephen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Mark
    Mark avatar
    97 posts
    Member since:
    Nov 2007

    Posted 07 Feb 2008 Link to this post

    Hi, sorry for the late reply.

    I actually wasn't clear with my original post. The RadCalendar puts the value into a Prometheus RadDateInput (and it was this that wasn't showing the date format correctly).

    Although I set the culture for the RadCalendar I didn't set it for the RadDateInput.

    Now works fine!


    Kind regards

    Mark Eaton
Back to Top