iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
We are using latest versions of Intersoft WebUI controls. We are using WebInput inside the WebGrid. All seems working fine except we are getting the java script message when we lost focus from the WebInput and the same java script message appears if we do any postback (Infact the error comes even before the post back, it seems that WebInput is trying to perform the Mask Validation).
Java Script error : Unhandled exception at line 1, column 42430 in var e=document.getElementById(b.WindowInfo.ControlID)
Here is the WebInput declaration in the aspx designer 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>
And we are specifying the WebInput to WebGrid in the WebGrid's PrepareDataBinding event.
Here is the code to bind WebInput to WebGrid.
MyColumn.EditType = EditType.Custom; MyColumn.DataFormatString = Constants.FormatDateTimeDisplay3; MyColumn.CustomEditorName = "WebInputNET"; MyColumn.CustomEditorServerId = "WebInputEndDate"; MyColumn.Width = 250; MyColumn.FilterEditType = FilterEditType.CalendarCombo;
Please let me know what settings are required in order to get rid of this Java Script Message. A quick response on this will be highly appreciated.
Thanks !
I created a simple sample based on your scenario (please find EnableCompatibilityView_Sample.zip in the attachment) and was unable to reproduce the problem in my local end.
For your information, I'm using WebGrid 10 (10.0.7200.24); WebInput 5 (5.0.7200.268); and WebUI.NET Framework 3.0 (3.0.5000.975). When performing the test, the sample page is rendered on IE 11 with Compatibility View enabled.
Please have the sample evaluated on your end and let me know if you have different result.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname