In this article, i will explain how to use ajaxControlToolkit:CalendarExtender with specific TimeZone and to override local Timezone.
Introduction In this article, I will explain how to use AjaxControlToolkit CalendarExtender with specific TimeZone and to override local Timezone. CalendarExtender Behaviour Whenever we try to set SelectedDate,StartDate and EndDate properties of ajax calender extension from c#. The datetime will be considered as UTC and while displaying in browser always this time will be converted to local Timezone, so this will be hard to predict that our website will be always opened in specific Timezone. To overcome this we need to set calender extender DateTime with required TimeZone using JavaScript. Code JavaScript
OOPs Principle and Theory