Skip to content

How to custom Calendar/DateTimePicker control?

Muhammad Gad

Asked Jan 19, 2011, 3:11 AM EST1 answer
Share
LinkedInX
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Suthish Nair
    0
    Welcome to C# Corner,

    Its an system configuration, refer link.
    0