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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  DNN 3.1.1: FormatExpiryDate doesn't works in IE!?
Previous Previous
 
Next Next
New Post 10/31/2007 3:54 AM
Unresolved
User is offline Ellis Fantuzzi
26 posts
10th Ranked


DNN 3.1.1: formatExpiryDate doesn't works in IE!? 

Hi All,

    I have a portal in DNN 3.1.1 with extended language pack Italian.

I have extended the registration form, cause i need some new skills. When I manage roles for users (I didn't change this control, and the registration control it's only be extended and not modified in existing methode) and set the expiritydate, the calendar return a m/d/yyyy formatted date. The problem is the portal is set in Italian as default language for administrator and host users and the correct format is dd/mm/yyyy. This cause the seguent problem:

  1. If i select d:2, m:11, y:2007; become 11/2/2007 in the textbox associated: i'm able to save, but the roles for that user is already expired cause in italy dd/mm/yyyy  then febrary is already pasted;
  2. If i select d:22, m:11, y:2007; become 11/22/2007 in the textbox associated: I cannot insert role cause mounth 22 doesn't exist;
  3. If i digit 02/11/2007 or 22/11/2007 directly in the textbox: Well done! It works fine.

I have opened the core project for find an answer and i have found this:

Return " popupCal('Cal','" & Field.ClientID & "','" & formatString & "','" & MonthNameString & "','" & DayNameString & "','" & Services.Localization.Localization.GetString("Today") & "','" & Services.Localization.Localization.GetString("Close") & "','" & Services.Localization.Localization.GetString("Calendar") & "'," & DateTimeformatInfo.CurrentInfo.FirstDayOfWeek & ");"

Debuggin: formatString = "dd/MM/yyyy" and other params are correctly in Italian.

I open the PopupCalendar.js file for find the problem. But, cause i'm not a good "java" developer, i've done the only logical things to do. I open a PopupCalendar.js present in the DNN package Version 4.6.2. And i found only 1 changes:

anchorVal = "<A HREF=\" window.opener.calPopupSetDate(window.opener.popCalDstFld,'" + (thisMonth+1) + "/" + monthDate + "/" + thisYear + "');window.opener.closeCalPopup()\">";

become

anchorVal = "<A HREF=\" window.opener.calPopupSetDate(window.opener.popCalDstFld,'" + constructDate(monthDate,thisMonth+1,thisYear) + "');window.opener.closeCalPopup()\">";
but this changes cannot solve my problem

I'm surrender to evidence... i need the DNN forum help.

Thank you All

Ellis

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  DNN 3.1.1: FormatExpiryDate doesn't works in IE!?
 


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.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

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