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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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