Kendo datepicker in Chinese, kendodatepicker

Source: Internet
Author: User

Kendo datepicker in Chinese, kendodatepicker

Kendo grid supports multiple languages, including many languages. Generally, en is used by default, but Chinese characters are required for the domestic market. No ink.

       <link href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.common.min.css" rel="stylesheet" />    <link href="http://cdn.kendostatic.com/2014.2.716/styles/kendo.default.min.css" rel="stylesheet" />    <script src="http://cdn.kendostatic.com/2014.2.716/js/jquery.min.js"></script>    <script src="http://cdn.kendostatic.com/2014.2.716/js/kendo.all.min.js"></script>    <script src="kendo.culture.zh-CN.min.js"></script>

Add html

<input id="datepicker" value="10/10/2011" style="width:150px;" />

Js Code:

 $(function () {            kendo.culture("zh-CN");            $("#datepicker").kendoDatePicker();        });

This completes the localization of datepicker. As follows:






Datepicker has been downloaded to the latest version, but does not know how to call

<Script language = "javascript" type = "text/javascript" src = "DatePicker/WdatePicker. js"> </script>
Start
<Td width = "265"> <input id = "d11" type = "text" onClick = "WdatePicker ()"/> </td>

The jQuery datepicker library files I downloaded from the website are not easy to use. When I select a node and call the datepicker () function, it does not respond.

First introduce the jquery file, and then introduce this file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.