This is a simple ASP.NET control that can be used for easily picking a Shamsi date. You only have to add this control to the Toolbox and drag it into your page, or register the assembly with the
<@Register page directive.
Registering the assembly:
<%@ Register Assembly="AspNetPersianDatePickup"
Namespace="AspNetPersianDatePickup" TagPrefix="pcal" %>
Using the control:
Points of interest
In the server side, you can use the
Text property for retrieving the Christian datetime in string format. If you need the control's value as a
DateTime data type, you can use or bind the
SelectedDateTime property. You may use the
PersianDateString property for retrieving the Shamsi date as a string.
Good luck and a special thanks to "Mr. Amin Habibi".
Python, PostgreSQL, Cherrypy, Apache, .Net , C#, Asp.net, .Net Remoting, Ajax, Controls, MVC, SOA, SOAP, Razor