Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Popup Calendar crashes IE7DNN Popup Calendar crashes IE7
Previous
 
Next
New Post
3/20/2009 12:23 PM
 

Here is what I discovered yesterday, and spent couple of hours trying to fix it.
Let's say we want to assign dnn calendar to textbox.


<asp:TextBox ID="txtPaymentDate" runat="server" Width="300"></asp:TextBox>
<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/images/calendar.png">Calendar</asp:HyperLink>


Code behind will be following:

HyperLink1.NavigateUrl = DotNetNuke.Common.Utilities.Calendar.InvokePopupCal(txtPaymentDate);


So, using hyperlink we can invoke popup calendar. Pretty easy and straightforward.

But, approach produces an IE7 crash, if our website supports multiple languages.
For example, when I invoke popup call in en-US locale, everything works fine.
BUT, when I do the same in i.e. ka-GE locale, IE7 just crashes.

I don't know why this happens but the workaround is to use asp:Image instead of Hyperlink, and add OnClick attribute to invoke calendar.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Popup Calendar crashes IE7DNN Popup Calendar crashes IE7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out