views:

635

answers:

0

I expect it to be Thread.CurrentThread.CurrentUICulture.DateTimeFormat.ShortDatePattern if not specified explicitly in CalendarExtender.Format property but it's not. I don't set the property in my .aspx markup but in the debugger it reports "d". Well, DateTime.Now.ToString("d") returns "31.10.2009" (which corresponds to CurrentUICulture) but when i pick the date in the browser the text in the target TextBox is "10/31/2009".

Why?