Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...jQuery  UI Calendar not working in DNNjQuery UI Calendar not working in DNN
Previous
 
Next
New Post
9/17/2010 5:27 AM
 
Hi,
i am new to DNN,  I encountered a small problem.
I am developing a module in which i had to use a calendar to allow user to select date. I selected jQueryUI Calendar to use. My jQuery file and other files required to display calendar is included well but calendar doesn't work well.

I can clearly see that all necessary scripts are included will in page source.
But i always get an error that datepicker is not a function.

I have written all the jQuery code in the block that prevents jQuery conflicts.

But i always get a javascript error that says datepicker is not a function.

to test that i have written correct code i implemented same calendar in other sample project to test if the calendar works and it works with other asp.net projects but  not with DNN.

Is there any special issue associated with jQuery not working in DNN?
Or is there any different way to include the required files like javascript and css to be included in DNN. I have also tried setting the javascript and css required for calendar in page header in admin.

Please help.
Thanks,
 
New Post
9/17/2010 6:22 AM
 
Randhir,
I often use jQuery.ui in DNN, and used datepicker several times without any problems: just include js and css, and build the datepicker in jQuery(document).ready(function().
If you get that error, I suggest you to check the paths: maybe some is wrong, so your browser isn't actually loading all necessary files.
Using Fiddler could help identifying such problems.

Bye,
al.
 
New Post
6/10/2012 2:50 AM
 

 

This problem may be caused by having conflicting jQuery scripts. Please refer to the following wiki post:

 http://www.dotnetnuke.com/Resources/Wiki/Page/Reusable-DotNetNuke-jQuery-Plugins.aspx

SkinTweaker can be handy for fixing jQuery UI problems on DNN:

http://store.dotnetnuke.com/home/product-details/skintweaker

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...jQuery  UI Calendar not working in DNNjQuery UI Calendar not working in DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out