I'm using Ajax Control Kit in a web application. The issue is when I access the application with India Time Zone then It's working fine but when I choose the time zone of Central Time (US and Canada) the calendar shows display date as Selected Date-1. For example, If I choose 16.Oct.2012 it'll display(in extendar control) as 15.Oct.2012. I tried the following code but of no help:
protected void Page_Load(object sender, EventArgs e) {
string Lang = "en-US"; //set your culture here
System.Threading.Thread.CurrentThread.CurrentCulture =
new System.Globalization.CultureInfo(Lang);
}
EnableScriptGlobalization = "true";
Also During debugging i find that sender for the Javascript function itself stores the wrong value, i.e., date which is = selected date-1
function setDateIntoHiddenField(sender, args)
Any ideas or suggestions ?