how do i add a persian or other language Datatimepicker in umbraco?

人盡茶涼 提交于 2019-12-10 15:06:07

问题


i need to add a persian (shamsi) date time picker in my website.i know about persian data time picker in Asp.net or C# but i'm using umbraco and need to add persiandatetimepicker in umbraco that can use and change persiandatetimepickers code in my code. how do i do it?

i found this link: http://our.umbraco.org/forum/developers/api-questions/19718-Using-Umbraco-Date-Time-Picker-in-ASCX-file

but not useful.


回答1:


You can create new datatypes in Umbraco to both store and render dates in your own style and preference. The process involves creating a couple of classes, one of which implements an interface called IDataType. Tim Geyssens, staff at Umbraco HQ, has a great blogpost on the basics here.



来源:https://stackoverflow.com/questions/13429558/how-do-i-add-a-persian-or-other-language-datatimepicker-in-umbraco

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!