﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WindowInfo</title><link>http://www.intersoftsolutions.com/Community/Tags/WindowInfo/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webinput - Java Script Error</title><link>http://www.intersoftsolutions.com/Community/Tags/WindowInfo/</link><pubDate>Fri, 15 Jul 2016 09:08:59 GMT</pubDate><dc:creator>sjain</dc:creator><category>WindowInfo</category><category>WebInput error</category><description>&lt;p&gt;Hi,&lt;/p&gt;        &lt;p&gt;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).&lt;/p&gt;
        &lt;p&gt;Java Script error : Unhandled exception at line 1, column 42430 in var e=document.getElementById(b.WindowInfo.ControlID)&lt;/p&gt;
        &lt;p&gt;Here is the WebInput declaration in the aspx designer page.&lt;/p&gt;
        &lt;pre&gt;&amp;lt;ISWebInput:WebInput RenderingMode="HTML5" ID="WebInputEndDate" runat="server"&amp;gt;
    &amp;lt;HighLight IsEnabled="True" Type="Phrase" /&amp;gt;
    &amp;lt;EditFormat Type="DateTime" Format="MM/dd/yyyy HH:mm" IsEnabled="true"&amp;gt;
        &amp;lt;MaskInfo MaskExpression="00/00/0000 00:00"&amp;gt;&amp;lt;/MaskInfo&amp;gt;
        &amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;&amp;lt;/ErrorWindowInfo&amp;gt;
    &amp;lt;/EditFormat&amp;gt;
    &amp;lt;DisplayFormat&amp;gt;&amp;lt;/DisplayFormat&amp;gt;
    &amp;lt;DateTimeEditor IsEnabled="true"&amp;gt;&amp;lt;/DateTimeEditor&amp;gt;
    &amp;lt;CultureInfo CultureName="en-US"&amp;gt;&amp;lt;/CultureInfo&amp;gt;
&amp;lt;/ISWebInput:WebInput&amp;gt;&lt;/pre&gt;
        &lt;p&gt;And we are specifying the WebInput to WebGrid in the WebGrid's PrepareDataBinding event.&lt;/p&gt;
        &lt;p&gt;Here is the code to bind WebInput to WebGrid.&lt;/p&gt;
        &lt;pre&gt;MyColumn.EditType = EditType.Custom;
MyColumn.DataFormatString = Constants.FormatDateTimeDisplay3;
MyColumn.CustomEditorName = "WebInputNET";
MyColumn.CustomEditorServerId = "WebInputEndDate";
MyColumn.Width = 250;
MyColumn.FilterEditType = FilterEditType.CalendarCombo;&lt;/pre&gt;
                &lt;p&gt;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.&lt;/p&gt;
                &lt;br&gt;
                &lt;p&gt;Thanks !&lt;/p&gt;</description></item></channel></rss>