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 calender in my developed modulejquery ui calender in my developed module
Previous
 
Next
New Post
11/7/2011 9:14 AM
 
what is the best way to use the jquery ui datepicker in the module i am developing .  i want to know how what is the correct way to initialize it on my module
 
New Post
11/7/2011 1:57 PM
 
Not fully sure as to your question  but to implement the jquery datepicker.

In your page load for your module - you'll want to load all javascript - so call:
1. DotNetNuke.Framework.jQuery.RequestRegistration() to get jquery requested for the page
2. Page.ClientScript.RegisterClientScriptInclude(key,url) - w/ the jquery UI info IE:
Page.ClientScript.RegisterClientScriptInclude("jqueryui", "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js
")

then just follow the jQuery UI examples for your page: http://jqueryui.com/demos/datepicker/


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
11/14/2011 4:14 AM
 
And how to apply the datepicker css in a custom module?
My module opens in popup window but the css doesn't apply.

The css works on the main page of my module (css in the header page tab)



but not on my module in  popup window


i use editurl to open my detail of my module in a popup window.
hlCreateAppointment.NavigateUrl = EditUrl("CreateAppointment");

How can i fix this?
 
New Post
11/14/2011 10:41 AM
 
Since you're custom module as the popup - you'll need to call the CSS in that custom module itself (the popup part - the control ascx or aspx page - whatever you're using).


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
11/14/2011 10:54 AM
 
<div class="Forum_Normal" id="spBody"> i placed this in my ascx file that opens in popup mode<br /> <link rel='stylesheet' type='text/css' href='<%= ResolveUrl("~/styles/jquery-ui-1.8.custom.css") %>' id="css"/><br />  don't know if this is the correct solution... <br /> </div>
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...jquery ui calender in my developed modulejquery ui calender in my developed module


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