本地化KendoUI

<!doctype html>
<html>
    <head>
        <title>Kendo UI Web</title>
        <link href="styles/kendo.common.min.css" rel="stylesheet" />
        <link href="styles/kendo.default.min.css" rel="stylesheet" />
        <script src="js/jquery.min.js"></script>
        <script src="js/kendo.web.min.js"></script>
        <script src="js/cultures/kendo.culture.zh-CN.min.js"></script>
    </head>
    <body>
        <input id="datepicker" />
        <script>
            $(document).ready(function () {
                kendo.culture("zh-CN");

                $("#datepicker").kendoDatePicker({
                    value: new Date(),
                    format: "yyyy-MM-dd"
                });
            });
        </script>
    </body>
</html>

posted @ 2013-12-01 14:14  黎东海  阅读(609)  评论(0编辑  收藏  举报