<?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: User availability check usability improvements</title>
	<atom:link href="http://encosia.com/username-availability-check-usability-improvements/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/username-availability-check-usability-improvements/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 16 May 2012 23:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: xikky</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-63691</link>
		<dc:creator>xikky</dc:creator>
		<pubDate>Wed, 11 Apr 2012 13:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-63691</guid>
		<description>This is the structure:
&lt;pre lang=&quot;html&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;div id=&quot;ajaxBox&quot;&gt;&lt;div id=&quot;UserCheck&quot;&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>This is the structure:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"><span style="color: #009900;">&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ajaxBox&quot;</span>&gt;&lt;div <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;UserCheck&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: xikky</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-63690</link>
		<dc:creator>xikky</dc:creator>
		<pubDate>Wed, 11 Apr 2012 13:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-63690</guid>
		<description>Thank you for such an example!

I am trying to implement this though in a Child Page of a Master Page and I can figure it out how to make this work.

I&#039;m not using the Enable/Disable button function and so I&#039;m guessing that the ID for thediv doesn&#039;t need the fancy things around to make it work with javascript.

This is a quick structure of where the div id=CheckUser is located 
 

And this is how I implement the progress indicator

        // Hook the InitializeRequest event.
        Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(Init);

        function Init(sender, args) {
            // Change div&#039;s CSS class and text content.
            $get(&quot;CheckUser&quot;).className = &#039;progress&#039;;
            $get(&quot;CheckUser&quot;).innerHTML = &#039;Checking availability...&#039;;
        }
    

pretty much the same .. but it doesn&#039;t work. Can anyone pass on suggestions pls?</description>
		<content:encoded><![CDATA[<p>Thank you for such an example!</p>
<p>I am trying to implement this though in a Child Page of a Master Page and I can figure it out how to make this work.</p>
<p>I&#8217;m not using the Enable/Disable button function and so I&#8217;m guessing that the ID for thediv doesn&#8217;t need the fancy things around to make it work with javascript.</p>
<p>This is a quick structure of where the div id=CheckUser is located </p>
<p>And this is how I implement the progress indicator</p>
<p>        // Hook the InitializeRequest event.<br />
        Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(Init);</p>
<p>        function Init(sender, args) {<br />
            // Change div&#8217;s CSS class and text content.<br />
            $get(&#8220;CheckUser&#8221;).className = &#8216;progress&#8217;;<br />
            $get(&#8220;CheckUser&#8221;).innerHTML = &#8216;Checking availability&#8230;&#8217;;<br />
        }</p>
<p>pretty much the same .. but it doesn&#8217;t work. Can anyone pass on suggestions pls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamshed</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-39173</link>
		<dc:creator>jamshed</dc:creator>
		<pubDate>Sun, 20 Jun 2010 06:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-39173</guid>
		<description>HI
Thanks for the your great post, but i m facing problem to implement it. It&#039;s working perfectly but problem is that when i click any button on my register page that casue for post back than the result will dislplay on my page other wise do nt show user availbility. I want to implement in my page that when a  user type his user name in the UserName text box and go to other text box, it&#039;s show massage immidaitely tht massge.But it this case i have make post back, text change event not working perfectly. Please help me!!!</description>
		<content:encoded><![CDATA[<p>HI<br />
Thanks for the your great post, but i m facing problem to implement it. It&#8217;s working perfectly but problem is that when i click any button on my register page that casue for post back than the result will dislplay on my page other wise do nt show user availbility. I want to implement in my page that when a  user type his user name in the UserName text box and go to other text box, it&#8217;s show massage immidaitely tht massge.But it this case i have make post back, text change event not working perfectly. Please help me!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-36566</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 28 Sep 2009 00:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-36566</guid>
		<description>You&#039;ll need to check args.get_postBackElement().id in your InitializeRequest handler and only trigger that indicator when it&#039;s Username (or whatever your username field&#039;s ID is).</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to check args.get_postBackElement().id in your InitializeRequest handler and only trigger that indicator when it&#8217;s Username (or whatever your username field&#8217;s ID is).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graham</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-36551</link>
		<dc:creator>graham</dc:creator>
		<pubDate>Fri, 25 Sep 2009 19:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-36551</guid>
		<description>I am trying to use this in a DetailsView.  When I click my save button (Insert command) the javascript function InitializeRequest fires again causing the &quot;Checking availability...&quot; to show again in my  again(already been verified).  Trying to figure out why the (CommandName= Insert) is causing the InitializeRequest to happen again.  This is probably really evident but been working hard and in a brain frazzle, I appreciate your help.</description>
		<content:encoded><![CDATA[<p>I am trying to use this in a DetailsView.  When I click my save button (Insert command) the javascript function InitializeRequest fires again causing the &#8220;Checking availability&#8230;&#8221; to show again in my  again(already been verified).  Trying to figure out why the (CommandName= Insert) is causing the InitializeRequest to happen again.  This is probably really evident but been working hard and in a brain frazzle, I appreciate your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-33167</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 08 Nov 2008 21:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-33167</guid>
		<description>You’ll need to pay extra attention to your ClientIDs in a master page scenario. Take a look at this post and its comments, for some ideas: http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/</description>
		<content:encoded><![CDATA[<p>You’ll need to pay extra attention to your ClientIDs in a master page scenario. Take a look at this post and its comments, for some ideas: <a href="http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/" rel="nofollow">http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-33143</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Thu, 06 Nov 2008 21:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-33143</guid>
		<description>Code dosent work when implemented using master pages
and code is added in child page</description>
		<content:encoded><![CDATA[<p>Code dosent work when implemented using master pages<br />
and code is added in child page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-33100</link>
		<dc:creator>Lars</dc:creator>
		<pubDate>Tue, 04 Nov 2008 07:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-33100</guid>
		<description>Dear Dave,

First checked your code stand-alone... But when I implemented it in a converted createuserwizard, it failed on the JScript...

CreateUser changes the IDs of the DIVs, so I went to the compiled code, found the changed IDs, and changed the JScript refs to them - for UserAvail and the Button...

Hope this will help others...

Lars</description>
		<content:encoded><![CDATA[<p>Dear Dave,</p>
<p>First checked your code stand-alone&#8230; But when I implemented it in a converted createuserwizard, it failed on the JScript&#8230;</p>
<p>CreateUser changes the IDs of the DIVs, so I went to the compiled code, found the changed IDs, and changed the JScript refs to them &#8211; for UserAvail and the Button&#8230;</p>
<p>Hope this will help others&#8230;</p>
<p>Lars</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajiv</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-29564</link>
		<dc:creator>rajiv</dc:creator>
		<pubDate>Tue, 10 Jun 2008 22:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-29564</guid>
		<description>&gt;&gt; 
Perfect. Exactly what I was looking for. Looks like there’s one extra angle bracket in the aspx file, right above the update panel. seems to be causing this issue when you fire a build. 

Error 1 Content (’&lt;&#039;) does not match any properties within a ‘System.Web.UI.UpdatePanel’, make sure it is well-formed. C:\Users\admin\Desktop\AJAXUsernameCheck\Default.aspx 24 

Removed it and it worked perfectly. You might want to change that in the uploaded zip. 

Thanks for putting this out.
&gt;&gt;

&gt;&gt;
Fixed. Thank you for letting me know about that.
&gt;&gt;

Thanks!!</description>
		<content:encoded><![CDATA[<p>>><br />
Perfect. Exactly what I was looking for. Looks like there’s one extra angle bracket in the aspx file, right above the update panel. seems to be causing this issue when you fire a build. </p>
<p>Error 1 Content (’< ') does not match any properties within a ‘System.Web.UI.UpdatePanel’, make sure it is well-formed. C:\Users\admin\Desktop\AJAXUsernameCheck\Default.aspx 24 </p>
<p>Removed it and it worked perfectly. You might want to change that in the uploaded zip. </p>
<p>Thanks for putting this out.<br />
>></p>
<p>>><br />
Fixed. Thank you for letting me know about that.<br />
>></p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-29487</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Tue, 10 Jun 2008 12:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-29487</guid>
		<description>Fixed.  Thank you for letting me know about that.</description>
		<content:encoded><![CDATA[<p>Fixed.  Thank you for letting me know about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajiv</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-29348</link>
		<dc:creator>rajiv</dc:creator>
		<pubDate>Mon, 09 Jun 2008 21:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-29348</guid>
		<description>Perfect. Exactly what I was looking for. Looks like there&#039;s one extra  angle bracket in the asp file, right above the update panel. seems to be causing this issue when you fire a build. 

Error	1	Content (&#039;&lt;&#039;) does not match any properties within a &#039;System.Web.UI.UpdatePanel&#039;, make sure it is well-formed.	C:\Users\admin\Desktop\AJAXUsernameCheck\Default.aspx	24	

Removed it and it worked perfectly. You might want to change that in the uploaded zip. 

Thanks for putting this out.</description>
		<content:encoded><![CDATA[<p>Perfect. Exactly what I was looking for. Looks like there&#8217;s one extra  angle bracket in the asp file, right above the update panel. seems to be causing this issue when you fire a build. </p>
<p>Error	1	Content (&#8216;<&#8216;) does not match any properties within a &#8216;System.Web.UI.UpdatePanel&#8217;, make sure it is well-formed.	C:\Users\admin\Desktop\AJAXUsernameCheck\Default.aspx	24	</p>
<p>Removed it and it worked perfectly. You might want to change that in the uploaded zip. </p>
<p>Thanks for putting this out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-1654</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 05 Nov 2007 21:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-1654</guid>
		<description>Oops, nevermind - I feel a little blind. I didn&#039;t catch that that&#039;s a piece of Javascript.</description>
		<content:encoded><![CDATA[<p>Oops, nevermind &#8211; I feel a little blind. I didn&#8217;t catch that that&#8217;s a piece of Javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-1653</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 05 Nov 2007 21:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-1653</guid>
		<description>Hi,
This is a really interesting tutorial, but I&#039;m wondering - how would I do this using Visual Basic, instead of C#?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This is a really interesting tutorial, but I&#8217;m wondering &#8211; how would I do this using Visual Basic, instead of C#?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-1529</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Tue, 23 Oct 2007 06:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-1529</guid>
		<description>I&#039;m not quite sure exactly what you&#039;re asking.  Could you email me some code (or post it here, using &lt;pre&gt; tags)?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not quite sure exactly what you&#8217;re asking.  Could you email me some code (or post it here, using &lt;pre&gt; tags)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan GIll</title>
		<link>http://encosia.com/username-availability-check-usability-improvements/#comment-1516</link>
		<dc:creator>Jonathan GIll</dc:creator>
		<pubDate>Sun, 21 Oct 2007 01:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/09/username-availability-check-usability-improvements/#comment-1516</guid>
		<description>I am having trouble adapting the code to work within a templated create new user wizard.  I keep getting the error Error &#039;UserAvailability&#039; is not declared.  A command like (CType(CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl(&quot;cboCountry&quot;), DropDownList)).SelectedValue is not working either.  Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>I am having trouble adapting the code to work within a templated create new user wizard.  I keep getting the error Error &#8216;UserAvailability&#8217; is not declared.  A command like (CType(CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl(&#8220;cboCountry&#8221;), DropDownList)).SelectedValue is not working either.  Any help would be appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

