Useful Persian-Arabic-Georgian Calendar ASP.NET





5.00/5 (2 votes)
A Persian calendar with the jQuery UI DatePicker control
Introduction
Date picker controls in client side scripting do not support the Persian Jalali calendar. This is a simple calendar using jQuery UI DatePicker
that supports more effects and styles... same as jQueryUI's DatePicker
control. This is a simple way to use the calendar in your application.
Background
You must have some knowledge about client side scripting and the jQuery library.
Using the Code
- Link jQuery library and jQuery UI stylesheet (you can replace styles with another style in jQueryUI).
// Link This files to your webform jquery-ui-1.8.14.css jquery-1.6.2.min.js jquery.ui.datepicker-cc.all.min.js
- Add the
$('#tb_id').datepicker();
script on document ready. - Add a server side textbox control change the text box ID to
tb_id
. - That's it, now test it.
Acknowledgement
Special thanks to M.Hasheminezhad http://hasheminezhad.com/datepicker
Happy coding!