Click here to Skip to main content
12,244,103 members (51,393 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: MVC Knockout.js
<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 1-Aug-13 5:29am
Edited 1-Aug-13 6:47am
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Comments
Jitendra Kumar 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 1 Aug 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100