Hi,
I have a WebDateChooser within a WebDialogWindow. For some reasons, the WebDateChooser has to be disabled but still display given value.
My problem is when user double clicks on the disabled WebDateChooser, IE (my app was designed for IE only) shows javascript error symbol and the error message says "Object doesn't support this property or method".
HTML code for the control follows:
<igsch:WebDateChooser ID="wdcStartDate" runat="server" Value="" NullDateLabel="" Width="200px" Font-Names="Verdana" Font-Size="8pt" Height="20px"> <CalendarLayout> <CalendarStyle Font-Names="Verdana" Font-Size="8pt" Height="20px"> </CalendarStyle> </CalendarLayout> <DropButton> <Style Font-Size="8pt" Height="20px"></Style> </DropButton> <DropDownStyle Width="202px"> </DropDownStyle> <ExpandEffects Type="Fade" Duration="500"></ExpandEffects></igsch:WebDateChooser>
I can avoid this by set value of the WebDateChooser to null, but that's not what I'm expecting. Could you please take a look and tell me some solutions? Thanks in advance.
HI,
I could not reproduce this issue. What version of IE are you testng with?
Here is the page I used to test in IE 6 and 7 .
Try testing this on another computer..
%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="Infragistics2.WebUI.WebDateChooser.v8.3, Version=8.3.20083.1009, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.WebSchedule" tagprefix="igsch" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <igsch:WebDateChooser ID="WebDateChooser1" runat="server" Enabled="False" Value="2009-03-20"> </igsch:WebDateChooser> <igsch:WebDateChooser ID="wdcStartDate" runat="server" Enabled="false" Value="" NullDateLabel="" Width="200px" Font-Names="Verdana" Font-Size="8pt" Height="20px"> <CalendarLayout> <CalendarStyle Font-Names="Verdana" Font-Size="8pt" Height="20px"> </CalendarStyle> </CalendarLayout> <DropButton> <Style Font-Size="8pt" Height="20px"></Style> </DropButton> <DropDownStyle Width="202px"> </DropDownStyle> <ExpandEffects Type="Fade" Duration="500"></ExpandEffects></igsch:WebDateChooser>
</div> </form></body></html>
Hi,Thanks for following up. My app is running on IE7. However, my code is little more complicated than yours. I have a web splitter, upper pane has an UltraWebGrid while lower one has an UltraWebtab with 3 tabs. The WebDateChooser is placed within an UpdatePanel in an UltraWebtab, and all of them are in a WebDialogWindow. I have to detailed this since your code seems too simple. Have you got any further suggestion?
Thanks.