This is a migrated thread and some comments may be shown as answers.

RadCalendar and Culture Issues

2 Answers 97 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 15 Jan 2008, 10:58 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 17 Jan 2008, 04:35 PM
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
0
Mark
Top achievements
Rank 1
answered on 07 Feb 2008, 10:28 PM
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
Tags
Calendar
Asked by
Mark
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Mark
Top achievements
Rank 1
Share this question
or