We have a form containing the calendar control which we launch as a dialog using window.showModalDialog. Normally, if we want to quickly change the year, we click on the title of the calendar and it alters between the various selection modes (e.g. allowing day/month/year/groupyear selection) However in IE8, if the calendar is in a dialog, then it only allows month selection, clicking on the title again and it returns to day selection.
This makes it VERY time consuming if a user wants to go back say 5 years as they have to click the previous button to go back month by month.
The calendar has all default settings. The markup for the dialog is as below. Remember this must be loaded using window.showModalDialog in javascript and it only seems to happen in ie8.
Is this a known problem and is there a workaround or solution?
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="SelectDate
.aspx.vb" Inherits="Jcad.Risk.Web.UI.SelectDatePage" EnableSessionState="False" EnableViewState="False" %>
<%@ Register Assembly="Infragistics4.Web.v12.2, Version=12.2.20122.2054, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="ig" %><?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html id="SelectDate" class="modal" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"lang="en"><head runat="server"> <title>Select Date</title></head><body class="modal"> <form id="theForm" language="javascript" onreset="return form_onReset()" onsubmit="return form_onSubmit()" ondblclick="return form_selecteddate(event)" method="post" runat="server"> <asp:ScriptManager ID="scmSelectDate" runat="server"> </asp:ScriptManager> <ig:WebMonthCalendar ID="wmcWebCalendar" runat="server" TabIndex="1" > </ig:WebMonthCalendar> <input id="cmdCancel" tabindex="3" type="reset" value="Cancel" /> <input id="cmdOK" class="default" tabindex="2" type="submit" value="OK" /> </form></body></html>
Hello Damian,
We're still following your case. Have you been able to resolve the issue? If you need more assistance, please feel free to contact us.
Sincerely,
Tsanna
The fix in 13.1 and later service releases of 12.2 are working for us. Thanks.