Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<script src="js/jquery.min.js"></script>
<script src="js/kendo.datetimepicker.min.js"></script>
<script src="js/knockout-2.3.0.js"></script>
<script src="js/knockout-kendo.min.js"></script>


<div id="Div1">
                    <input data-bind="kendoDateTimePicker: true" />
            </div>


 <script src="js/jquery.min.js"></script>
<script src="js/kendo.web.min.js"></script>
<script src="js/knockout-2.3.0.js"></script>
<script src="js/knockout-kendo.min.js"></script>

<div id="Div1">
                    <input data-bind="kendoDateTimePicker: true" /></div>


Datetime picker is not working if i am using above script libraries as reference to my page,but when i am using the below script libraries it is working fine.As the below script library(kendo.web.min.js) is very heavy in size,so it is not preferrable to use this in my site.So i want to use specific library for date time picker(kendo.datetimepicker.min.js) for my purpose.How can i use it.Thanks in advance...
Posted
Updated 1-Aug-13 5:47am
v2

1 solution

KendoUI is AMD module aware framework, i.e. it can be used with RequireJS.
If you implement your page using RequireJS, you can track what concrete dependencies were loaded to instantiate kendoDateTimePicker. (as a minimum it should load core components).

See Kendo docs on tips how to proceed with this:

http://docs.kendoui.com/getting-started/using-kendo-with/using-kendo-with-requirejs[^]
 
Share this answer
 
Comments
Jitendra Sabat 2-Aug-13 1:50am    
Thanks Vyacheslav for your suggestion...

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900