Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 04, 2013 08:36 PM by Yecats
Jan 04, 2013 02:15 AM|LINK
I am trying to use the spinner widget that was provided in the jquery ui version 1.9 but am unable to get it to work. When I try my code in a page not attached to my master file it works perfectly. If I use that same code in a page that is attached to my
master file it does not run and errors out saying it cannot find the function.
I do not have the Jquery UI files referenced on the master file but I do have them on the individual page level. I did some searching and it looks like the Ajax documents references older versions of the UI. Is there any way to correct this or make sure
that the page accesses the Jquery file referenced on it?
Jan 04, 2013 02:35 AM|LINK
To make sure that the page accesses the Jquery file referenced on it - you need to make sure that the Jquery is installed properly.
Also, please view the following:
You may find to useful.
Jan 04, 2013 04:26 PM|LINK
I've added the files to my project directly instead of referencing the CDN. I really think that this has something to do with the ajax toolkit or my master file. As I said above, it works perfectly when on a file that isn't attached to my master.
Jan 04, 2013 07:36 PM|LINK
Try to use this referencing :
<ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true"
EnableScriptLocalization="true" ID="ScriptManager1" >
<asp:ScriptReference Path="~/Scripts/jquery-blink.js" />
Jan 04, 2013 08:36 PM|LINK
I just figured this out. I had used NuGet in visual studio to install the AJAX Toolkit... when I did this it installed an old version of Jquery UI which did not have the spinner. Even though I was using the correct scripts on my page it was still accessing
the older one. I used NuGet to update the jquery and jquery libraries which in turn updated the one that AJAX was associated with.
(I feel so silly...)
I am sorry though, I did not see your post until just now so I did not try your suggestion. Thank you for giving it though!