Skip to main content

Posts

Showing posts from September, 2013

Adding Awesome Calender in Dotnetnuke or DNN Module

Dear Readers Today i found the very easy solution for display calender in DNN module by two easy steps DotNetNuke provides with inbuilt jquery.js and jquery-ui.js so you don't have to bother to link them separately In regular html / asp.net application you would have to add following lines in <head> tag <script src="http://code.jquery.com/jquery-1.8.2.js"></script>   <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>   <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" /> Note: If you did not see the calender then copy and past the above link  If you are developing a custom DNN module add this to your user control view.ascx file. I have txtStartDate as a text field on the form where I wanted my calander to be rendered on click. To achieve this I added this code at the top of my ascx page after the standard includes. <script type="