﻿<?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 - Lounge - WebInput OnValidateError Client Side Event Not Firing - Urgent!</title><link>http://www.intersoftsolutions.com/Community/Lounge/WebInput-OnValidateError-Client-Side-Event-Not-Firing---Urgent/</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 OnValidateError Client Side Event Not Firing - Urgent!</title><link>http://www.intersoftsolutions.com/Community/Lounge/WebInput-OnValidateError-Client-Side-Event-Not-Firing---Urgent/</link><pubDate>Wed, 24 Dec 2014 13:15:46 GMT</pubDate><dc:creator>sample4170</dc:creator><category>WebInput</category><category>error</category><category>validate</category><category>webc</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I've been facing lots of issues with Intersoft and I've been posting all of them just to get NO REPLIES. This is making it tough for the users alot. At the least the customer support should be good. I hope there will be a response for this.&lt;/p&gt;&lt;p&gt;The issue is, I am using a WebInput control for Date. It uses both DisplayFormat and EditFormat. For EditFormat, I've the validation.&amp;nbsp;An associated client side event is OnValidateError. Though it worked fine the first time I tried, now the Event is&amp;nbsp;invoking the JScript function multiple times. But it is calling the Default ErrorWindow Response correctly.&lt;/p&gt;&lt;p&gt;&amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server" MinDate="1900-01-01" ToolTip="Format: yyyy-MM"&amp;gt;&lt;br&gt;&amp;lt;CultureInfo CultureName="en-US"&amp;gt;&lt;br&gt;&amp;lt;/CultureInfo&amp;gt;&lt;br&gt;&amp;lt;DisplayFormat Format="yyyy-MM" IsEnabled="False"&amp;gt;&lt;br&gt;&amp;lt;ErrorWindowInfo IsEnabled="False"&amp;gt;&lt;br&gt;&amp;lt;/ErrorWindowInfo&amp;gt;&lt;br&gt;&amp;lt;/DisplayFormat&amp;gt;&lt;br&gt;&amp;lt;DateTimeEditor IsEnabled="True"&amp;gt;&lt;br&gt;&amp;lt;/DateTimeEditor&amp;gt;&lt;br&gt;&amp;lt;EditFormat IsEnabled="True" Format="yyyy-MM"&amp;gt;&lt;br&gt;&amp;lt;MaskInfo MaskExpression="0000-00"&amp;gt;&amp;lt;/MaskInfo&amp;gt;&lt;br&gt;&amp;lt;ErrorWindowInfo IsEnabled="false"&amp;gt;&amp;lt;/ErrorWindowInfo&amp;gt;&lt;br&gt;&amp;lt;/EditFormat&amp;gt;&lt;br&gt;&amp;lt;HighLight IsEnabled="True" Type="Phrase" /&amp;gt;&lt;br&gt;&amp;lt;EditFormatClientSideEvents OnValidateError="WebInput1_OnValidateError" /&amp;gt;&lt;br&gt;&amp;lt;ClientSideEvents OnAfterValueChanged="WebInput1_OnAfterValidate"&amp;gt;&amp;lt;/ClientSideEvents&amp;gt;&lt;br&gt;&amp;lt;/ISWebInput:WebInput&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span face="Consolas" color="#0000ff"&gt;&amp;lt;script language="javascript"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function WebInput1_OnValidateError() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("lblError").innerText = "Please Enter Correct Date in yyyy-MM format.";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function WebInput1_OnAfterValidate() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("lblError").innerText = "";&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Consolas" color="#0000ff"&gt;The reason I am using this JScript function is because, the default ErrorWindow is showing the error in different location. I've attached the screenshot for reference.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Consolas" color="#0000ff"&gt;I am losing my patience already with Intersoft, because I was first using WebCalendar which had a rendering problem when deployed. I posted here and no replies. I replaced it with WebInput and now, this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Consolas" color="#0000ff"&gt;I really hope someone replies to this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face="Consolas" color="#0000ff"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>