Click here to Skip to main content
Click here to Skip to main content

Tagged as

Useful Persian-Arabic-Georgian Calendar ASP.NET

, 8 Apr 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
A Persian calendar with the jQuery UI DatePicker control

Persian Calendar

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! Smile | :)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

SaeedSalehi
Software Developer (Senior) my office
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
//--------this is my life function
private void mylife()
{
Salehi saeed = new Salehi();
while (true)
{
saeed.Big Grin | :-D =true;
}
}
Follow on   Twitter   Google+

Comments and Discussions

 
QuestionTHANK YOU MY DEAR PinmemberMember 1025150813-Apr-14 21:19 
AnswerRe: THANK YOU MY DEAR PinmemberSaeedSalehi15-Apr-14 0:24 
Questionانتقاد PinmemberMehdiDolati8-Apr-13 1:00 
AnswerRe: انتقاد PinmemberSaeedSalehi8-Apr-13 1:04 
GeneralRe: انتقاد PinmemberMehdiDolati8-Apr-13 3:01 
GeneralRe: انتقاد PinmemberSaeedSalehi8-Apr-13 6:35 
GeneralRe: انتقاد PinmemberMehdiDolati8-Apr-13 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 8 Apr 2013
Article Copyright 2013 by SaeedSalehi
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid