Muhammad Gad

Muhammad Gad

  • NA
  • 1
  • 7.4k

How to custom Calendar/DateTimePicker control?

Jan 19 2011 8:11 AM

Hello All,
I need to create a new DateTimePicker control supporting the Hijri calendar
I tried the DateTimePicker on "windows server 2008" and it was working very fine without any code change for Hijri calendar but on "windows XP" it works only with Grgorian calendar
so i need to create a new DateTimePicker that implements the following calendar
system.globalization.hijricalendar
i do not know what is the best way to design and implement this item, can you please help me?
The DateTimePicker control on windows XP displays the Hijri dates in the popup window but it returns the equivalent Gregorian date and time after selecting any date and i want to override this i want the DateTimePicker to return the Hijri date as well

Answers (1)