Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Events Module [...  Using popup calendar
Previous Previous
 
Next Next
New Post 3/16/2006 9:11 AM
User is offline John Braga
73 posts
10th Ranked


Using popup calendar 

For a new custom module I wanted to have a calendar that did not cause a postback when you change month, and the popupcalendar used in the Events module is ideal.

The only snag is that I want the date in UK format (dd/mm/yyyy) rather than US.  I have done this by altering the popupcalendar.js file which works fine but is not ideal, since I will need to alter the source every time there is an upgrade.  Looking at the editEvents source, I cannot quite see you you get from the calendar commandbutton (a asp:hyperlink) to the javascript command which invokes the calendar with 9 arguments, one of which is the date format.

Can anyone please unravel the mystery?  Thanks!

 

 

 
New Post 3/26/2006 1:17 PM
User is offline Alan Vance
552 posts
www.avanced.net
8th Ranked




Re: Using popup calendar 

John, I have uploaded the source code (see the Events Download area)...You do not have to alter the existing popupcalendar.js.  It works with the existing DNN localization.  If you look at how I developed the Events module, you will see that it handles UK format, using the out-of-box popupcalendar.js.  Alan

 
New Post 3/27/2006 12:16 AM
User is offline John Braga
73 posts
10th Ranked


Re: Using popup calendar 

Thank you Alan.  That popup is going to be very useful to my DNN modules!

John B

 
New Post 3/27/2006 5:52 AM
User is offline Alan Vance
552 posts
www.avanced.net
8th Ranked




Re: Using popup calendar 
Your welcome.  It took a little to work out...and there are still issues in the Admin mode (because of the way the admin from is built).  If you have any improvements, please shoot 'em our way.
 
New Post 2/17/2008 8:14 AM
User is offline Lori
11 posts
10th Ranked


Re: Using popup calendar 

This is a bit off the track, but you have a couple of magical words - UK format!

I have installed DNN, and installed the South Arican language pack as well.  But I cannot see where or how to change the date format for the site to UK format for everything throughout the website.  What have I missed?  Can you point me in the right direction please?  You may have guessed that I am a newbie a this, and appreciate your time. info@COMENSA.org.za, if you need to reply to me because this is not the forum for it.  Thanks!  Lorí


Lorí
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Events Module [...  Using popup calendar
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP