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  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

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


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.

 


UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network

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