WebInput - error in IE Compatiblity Mode

2 replies. Last post: July 25, 2016 9:19 PM by Phanindra Kay
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Sachin JainMember

Hi,

We are using WebInput with latest version; however when we try to run our site on IE compatiblity mode then we are getting the following error on the page load itself. We are using IE 11, but sometimes in order to support our clients (who runs the older browers) we have to set their IE to compatiblity mode.

Unhandled exception at line 1, column 48 in a=Window.prototype.

Please let us know what can we do or any settings required.

WebInput design code in aspx page:

<ISWebInput:WebInput RenderingMode="HTML5" ID="WebInputEndDate" runat="server">
    <HighLight IsEnabled="True" Type="Phrase" />
    <EditFormat Type="DateTime" Format="MM/dd/yyyy HH:mm" IsEnabled="true">
        <MaskInfo MaskExpression="00/00/0000 00:00">
        </MaskInfo>
        <ErrorWindowInfo IsEnabled="False">
        </ErrorWindowInfo>
    </EditFormat>
    <DisplayFormat></DisplayFormat>
    <DateTimeEditor IsEnabled="true"></DateTimeEditor>
    <CultureInfo CultureName="en-US">
    </CultureInfo>
</ISWebInput:WebInput>

WebInput Bind to WebGrid in PrepareDataBinding code:

MyColumn.EditType = EditType.Custom;
MyColumn.DataFormatString = Constants.FormatDateTimeDisplay3;
MyColumn.CustomEditorName = "WebInputNET";
MyColumn.CustomEditorServerId = "WebInputEndDate";
MyColumn.Width = 250;
MyColumn.FilterEditType = FilterEditType.CalendarCombo;

Thanks!

All times are GMT -5. The time now is 6:04 PM.
Previous Next