<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ASP.NET AJAX username availability check</title>
	<atom:link href="http://encosia.com/aspnet-username-availability-checking-via-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Thu, 02 Feb 2012 19:50:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Gaurav Balyan</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-54393</link>
		<dc:creator>Gaurav Balyan</dc:creator>
		<pubDate>Fri, 16 Dec 2011 12:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-54393</guid>
		<description>This is a really very helpful tutorial</description>
		<content:encoded><![CDATA[<p>This is a really very helpful tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-43339</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Mon, 09 May 2011 07:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-43339</guid>
		<description>Good one.. thanks a lot</description>
		<content:encoded><![CDATA[<p>Good one.. thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-42376</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 23 Feb 2011 21:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-42376</guid>
		<description>I see what you&#039;re talking about now.  I was confused because this post doesn&#039;t deal with the &quot;checking availability&quot; indication; that&#039;s in a later post.

What you&#039;ll need to do is detect which TextBox raised the event in your initializeRequest handler and target the $get() at the appropriate element accordingly.  It&#039;s been a long time since I&#039;ve worked with those events, but I believe the &lt;code&gt;args&lt;/code&gt; parameter has a postBackElement property which you can use to determine that.  The best thing to do would be using a client-side debugger like Firebug to set a breakpoint in that initializeRequest handler and inspect the value of &lt;code&gt;sender&lt;/code&gt; and &lt;code&gt;args&lt;/code&gt; when you change the data in one of those fields.</description>
		<content:encoded><![CDATA[<p>I see what you&#8217;re talking about now.  I was confused because this post doesn&#8217;t deal with the &#8220;checking availability&#8221; indication; that&#8217;s in a later post.</p>
<p>What you&#8217;ll need to do is detect which TextBox raised the event in your initializeRequest handler and target the $get() at the appropriate element accordingly.  It&#8217;s been a long time since I&#8217;ve worked with those events, but I believe the <code>args</code> parameter has a postBackElement property which you can use to determine that.  The best thing to do would be using a client-side debugger like Firebug to set a breakpoint in that initializeRequest handler and inspect the value of <code>sender</code> and <code>args</code> when you change the data in one of those fields.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mudasser Hassan</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-42357</link>
		<dc:creator>Mudasser Hassan</dc:creator>
		<pubDate>Tue, 22 Feb 2011 06:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-42357</guid>
		<description>Hi Dave!

Thank you very much for your reply.

I&#039;ve checked for the possible issues you talked about. I experienced no concurrency issue even if tab through and very quickly complete those three fields. All fields are validated/authenticated successfully isolated and within their scope; no collapse, ambiguity or any other issue at all. 

The problem is only with InitializeRequest method, because here we are assigning css class and changing text of all three &quot;authentication message&quot; divs. So, each time, when any of the three fields data is changed, all three divs shows &quot;checking&quot; status. 1 more thing I want to clear, this happens only in &quot;checking&quot; state otherwise it only shows the only 1 corresponding div for &quot;authenticate&quot; or &quot;failed&quot; message, not all 3 divs (as you know we&#039;ve a separate OnTextChanged method for each of the text field and changing only that div&#039;s class and text within that methods, not the other remaining 2).

Can you share some trick to control the &quot;checking&quot; state message?

Thank You,
Mudasser Hassan</description>
		<content:encoded><![CDATA[<p>Hi Dave!</p>
<p>Thank you very much for your reply.</p>
<p>I&#8217;ve checked for the possible issues you talked about. I experienced no concurrency issue even if tab through and very quickly complete those three fields. All fields are validated/authenticated successfully isolated and within their scope; no collapse, ambiguity or any other issue at all. </p>
<p>The problem is only with InitializeRequest method, because here we are assigning css class and changing text of all three &#8220;authentication message&#8221; divs. So, each time, when any of the three fields data is changed, all three divs shows &#8220;checking&#8221; status. 1 more thing I want to clear, this happens only in &#8220;checking&#8221; state otherwise it only shows the only 1 corresponding div for &#8220;authenticate&#8221; or &#8220;failed&#8221; message, not all 3 divs (as you know we&#8217;ve a separate OnTextChanged method for each of the text field and changing only that div&#8217;s class and text within that methods, not the other remaining 2).</p>
<p>Can you share some trick to control the &#8220;checking&#8221; state message?</p>
<p>Thank You,<br />
Mudasser Hassan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-42352</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 21 Feb 2011 19:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-42352</guid>
		<description>The problem there is probably that only one UpdatePanel refresh can be in progress at any given time.  So, if you tab through and complete those three fields quickly, the concurrency issues will cause trouble.

If it were me, at this point, I would probably use jQuery Validation&#039;s remote validation feature to validate against a web service or page method.  That way, more than a single validation could take place simultaneously.</description>
		<content:encoded><![CDATA[<p>The problem there is probably that only one UpdatePanel refresh can be in progress at any given time.  So, if you tab through and complete those three fields quickly, the concurrency issues will cause trouble.</p>
<p>If it were me, at this point, I would probably use jQuery Validation&#8217;s remote validation feature to validate against a web service or page method.  That way, more than a single validation could take place simultaneously.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mudasser Hassan</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-42346</link>
		<dc:creator>Mudasser Hassan</dc:creator>
		<pubDate>Mon, 21 Feb 2011 15:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-42346</guid>
		<description>Hi Dave!

I&#039;ve tried your User Name checking technique and its perfect. But my requirement is slightly changed. I&#039;ve more than 1 fields on my form to check for availability. I need to check the availability of User Name, Email and Authenticate a Key. I placed the all 3 divs in my form along with corresponding divs and also wrote OnTextChanged events for all 3 fields. Moreover, I&#039;ve done the same in InitializeRequest with other 2 fields like done for User Name. Problem starts here now, as when text changes for any of these 3 fields, all 3 divs go to &quot;checking&quot; state and shows checking status on page. How can I make it to show only corresponding field&#039;s &quot;checking&quot; status and hide the other 2 at that time?

Thank You,
Mudasser Hassan</description>
		<content:encoded><![CDATA[<p>Hi Dave!</p>
<p>I&#8217;ve tried your User Name checking technique and its perfect. But my requirement is slightly changed. I&#8217;ve more than 1 fields on my form to check for availability. I need to check the availability of User Name, Email and Authenticate a Key. I placed the all 3 divs in my form along with corresponding divs and also wrote OnTextChanged events for all 3 fields. Moreover, I&#8217;ve done the same in InitializeRequest with other 2 fields like done for User Name. Problem starts here now, as when text changes for any of these 3 fields, all 3 divs go to &#8220;checking&#8221; state and shows checking status on page. How can I make it to show only corresponding field&#8217;s &#8220;checking&#8221; status and hide the other 2 at that time?</p>
<p>Thank You,<br />
Mudasser Hassan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhana krishnan</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39373</link>
		<dc:creator>santhana krishnan</dc:creator>
		<pubDate>Sat, 17 Jul 2010 07:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39373</guid>
		<description>i use this code,check username avail or not, if i enter the letters in the username text box ,at the time answer will display in the label,doesn&#039;t click the button or any other event,send this code</description>
		<content:encoded><![CDATA[<p>i use this code,check username avail or not, if i enter the letters in the username text box ,at the time answer will display in the label,doesn&#8217;t click the button or any other event,send this code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhana krishnan</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39372</link>
		<dc:creator>santhana krishnan</dc:creator>
		<pubDate>Sat, 17 Jul 2010 07:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39372</guid>
		<description>i use username check availabilty,if i enter the letters inthe text box ,if it is avail or not,display inthe label doesn&#039;t click the button event,please sent the code</description>
		<content:encoded><![CDATA[<p>i use username check availabilty,if i enter the letters inthe text box ,if it is avail or not,display inthe label doesn&#8217;t click the button event,please sent the code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39200</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 23 Jun 2010 15:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39200</guid>
		<description>There&#039;s not much to it.  It either displays the &quot;taken&quot; or &quot;available&quot; icon depending on what Membership.GetUser() returns.  If you follow the link to the next article in the series, there&#039;s a source download that you can run and see in action.</description>
		<content:encoded><![CDATA[<p>There&#8217;s not much to it.  It either displays the &#8220;taken&#8221; or &#8220;available&#8221; icon depending on what Membership.GetUser() returns.  If you follow the link to the next article in the series, there&#8217;s a source download that you can run and see in action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trey</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39185</link>
		<dc:creator>trey</dc:creator>
		<pubDate>Tue, 22 Jun 2010 18:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39185</guid>
		<description>Can you send me a link to a site where I can see the end result in action?</description>
		<content:encoded><![CDATA[<p>Can you send me a link to a site where I can see the end result in action?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39147</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 17 Jun 2010 02:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39147</guid>
		<description>There might be some styling on your form that&#039;s giving the UpdatePanel div overflow: hidden.  You can dig into that pretty well by inspecting it in Firebug and looking at how it highlights the element&#039;s box model.

The easiest solution might be to resize your images to fit the visible area.</description>
		<content:encoded><![CDATA[<p>There might be some styling on your form that&#8217;s giving the UpdatePanel div overflow: hidden.  You can dig into that pretty well by inspecting it in Firebug and looking at how it highlights the element&#8217;s box model.</p>
<p>The easiest solution might be to resize your images to fit the visible area.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: precept</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-39145</link>
		<dc:creator>precept</dc:creator>
		<pubDate>Wed, 16 Jun 2010 21:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-39145</guid>
		<description>I just tried this in a custom dotnetnuke module. I got it to work..simple enough. However I have an annoying problem, the image gets slightly cropped on the top and bottom. My image similar to the to the green and red check that is show on your sample at the top of this page. Any ideas? Thank you</description>
		<content:encoded><![CDATA[<p>I just tried this in a custom dotnetnuke module. I got it to work..simple enough. However I have an annoying problem, the image gets slightly cropped on the top and bottom. My image similar to the to the green and red check that is show on your sample at the top of this page. Any ideas? Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coder99 &#187; ASP.NET AJAX username availability check</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-38819</link>
		<dc:creator>coder99 &#187; ASP.NET AJAX username availability check</dc:creator>
		<pubDate>Wed, 19 May 2010 07:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38819</guid>
		<description>[...] http://encosia.com/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38818 Did you like this? If so, please addthis_pub = &#039;&#039;;bookmark it,   about it, and subscribe to the blog RSS feed. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://encosia.com/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38818" rel="nofollow">http://encosia.com/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38818</a> Did you like this? If so, please addthis_pub = &#39;&#39;;bookmark it,   about it, and subscribe to the blog RSS feed. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shri</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-38818</link>
		<dc:creator>shri</dc:creator>
		<pubDate>Wed, 19 May 2010 07:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38818</guid>
		<description>this post is useful for me,by using this post i am checking file exist or not.</description>
		<content:encoded><![CDATA[<p>this post is useful for me,by using this post i am checking file exist or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ck</title>
		<link>http://encosia.com/aspnet-username-availability-checking-via-ajax/#comment-38643</link>
		<dc:creator>ck</dc:creator>
		<pubDate>Wed, 05 May 2010 06:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/02/aspnet-username-availability-checking-via-ajax/#comment-38643</guid>
		<description>&lt;blockquote&gt;&lt;strong&gt; It&#039;s a very nice and clean code&lt;/strong&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote><p><strong> It&#8217;s a very nice and clean code</strong></p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>

