Skip to content

bahman616/PersianDatePicker_ASP.NET_MVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PersianDatePicker_ASP.NET_MVC

Persian Date Picker Template for ASP.NET MVC projects

This project helps you to integrate Persian Date Picker with ASP.NET MVC projects. By using it you can have your field in DateTime format in database, then show and edit it in Persian Date format.

How to use:

  1. Copy required js files to script directory:

    jquery.ui.datepicker-cc.all.min.js

    modernizr-2.0.6-development-only.js

    jquery-1.8.3.min.js

  2. Copy "PersianDatePicker.css" and "images" folder to the Content folder.

  3. Use PersianDateExtension Class.

  4. Copy EditorTemplates and DisplayTemplates folders to the "Shared" folder in "Views".

  5. Add [UIHint("PersianDate")] above of your DateTime field.

  6. Use @Html.EditorFor for your DateTime field to use the DatePicker.

About

Persian Date Picker Template for ASP.NET MVC projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published