Maybe its a Friday issue, not sure. I'm trying to use Any+Time™ DatePicker/TimePicker AJAX Calendar Widget where I store the JS files on my masterpage. What I'm trying to accomplish is when I click on my TextBox, I'm trying to bring up their AJAX style
calander that has a time picker on it. I click the textbox and i get a JS error, "AnyTime is undefined." Here is the code:
I would recommend adding a script reference to ScriptManager's <scripts></scripts> block instead of html script tag. That will make sure that scripts are registered before the control loads.
Stupid typographical error, misspelled my jquery file name. Sometimes its the little things that cause the most grief. Thank you for bearing with me. :)
All-Star
35218 Points
9955 Posts
Moderator
Using Any+Time™ DatePicker/TimePicker AJAX Calendar Widget with ASP.NET masterpage
Mar 07, 2014 08:56 AM|bbcompent1|LINK
Maybe its a Friday issue, not sure. I'm trying to use Any+Time™ DatePicker/TimePicker AJAX Calendar Widget where I store the JS files on my masterpage. What I'm trying to accomplish is when I click on my TextBox, I'm trying to bring up their AJAX style calander that has a time picker on it. I click the textbox and i get a JS error, "AnyTime is undefined." Here is the code:
MasterPage Header:
Report Page:
So, any ideas what I'm doing wrong? I'm putting the JS/CSS on my masterpage so this is available to other pages that use date/time ranges.
Contributor
5590 Points
1297 Posts
Re: Using Any+Time™ DatePicker/TimePicker AJAX Calendar Widget with ASP.NET masterpage
Mar 07, 2014 09:40 AM|dotnetzoom|LINK
I would recommend adding a script reference to ScriptManager's <scripts></scripts> block instead of html script tag. That will make sure that scripts are registered before the control loads.
All-Star
35218 Points
9955 Posts
Moderator
Re: Using Any+Time™ DatePicker/TimePicker AJAX Calendar Widget with ASP.NET masterpage
Mar 07, 2014 10:29 AM|bbcompent1|LINK
Stupid typographical error, misspelled my jquery file name. Sometimes its the little things that cause the most grief. Thank you for bearing with me. :)
All-Star
35218 Points
9955 Posts
Moderator
Re: Using Any+Time™ DatePicker/TimePicker AJAX Calendar Widget with ASP.NET masterpage
Mar 07, 2014 10:36 AM|bbcompent1|LINK
Ok, I'm back with a different situation. I'm going to open a new thread for that. Thanks!