<?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: Check If User Name Exists Using AJAX And C#</title>
	<atom:link href="http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/</link>
	<description>Premium Web Application Development</description>
	<lastBuildDate>Sat, 19 May 2012 17:52:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: 5 Practical Ways Using Ajax &#124; M3 Printing</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-6055</link>
		<dc:creator>5 Practical Ways Using Ajax &#124; M3 Printing</dc:creator>
		<pubDate>Sat, 06 Feb 2010 07:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-6055</guid>
		<description>[...] Check If User Name Exists Using AJAX And C# [...]</description>
		<content:encoded><![CDATA[<p>[...] Check If User Name Exists Using AJAX And C# [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pattern Inc &#187; 5 Practical Ways Using Ajax</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-5920</link>
		<dc:creator>Pattern Inc &#187; 5 Practical Ways Using Ajax</dc:creator>
		<pubDate>Wed, 03 Feb 2010 11:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-5920</guid>
		<description>[...] Check If User Name Exists Using AJAX And C# [...]</description>
		<content:encoded><![CDATA[<p>[...] Check If User Name Exists Using AJAX And C# [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScriptoX</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-4471</link>
		<dc:creator>ScriptoX</dc:creator>
		<pubDate>Sat, 05 Dec 2009 19:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-4471</guid>
		<description>Excellent post..Keep them coming :) Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Excellent post..Keep them coming <img src='http://codehill.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hesham</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-3422</link>
		<dc:creator>Hesham</dc:creator>
		<pubDate>Tue, 25 Aug 2009 11:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-3422</guid>
		<description>I am not deep into programing, but I like your blog and your helpful posts!</description>
		<content:encoded><![CDATA[<p>I am not deep into programing, but I like your blog and your helpful posts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-3089</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 28 Jul 2009 02:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-3089</guid>
		<description>I&#039;ve taken the liberty of making it work.
    protected void Page_Load(object sender, EventArgs e)
    {
        string newUsername = Request.QueryString[&quot;q&quot;];

        int found=0;

        for(int i=0;i&lt;usernames.Length;i++){
            if(usernames[i].Equals(newUsername)){
                found=1;
            }
        }
        if (found==1)
        {
            literal1.Text = &quot;User name exists&quot;;
        }
        else
        {
            literal1.Text = &quot;OK&quot;;
        }   

    }</description>
		<content:encoded><![CDATA[<p>I&#8217;ve taken the liberty of making it work.<br />
    protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        string newUsername = Request.QueryString["q"];</p>
<p>        int found=0;</p>
<p>        for(int i=0;i&lt;usernames.Length;i++){<br />
            if(usernames[i].Equals(newUsername)){<br />
                found=1;<br />
            }<br />
        }<br />
        if (found==1)<br />
        {<br />
            literal1.Text = &quot;User name exists&quot;;<br />
        }<br />
        else<br />
        {<br />
            literal1.Text = &quot;OK&quot;;<br />
        }   </p>
<p>    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-3087</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 28 Jul 2009 02:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-3087</guid>
		<description>&quot;if(usernames.Contains(newUsername))   &quot;
Where Usernames an simply an array? Can one do that in C# i&#039;m not seeing that method.</description>
		<content:encoded><![CDATA[<p>&#8220;if(usernames.Contains(newUsername))   &#8221;<br />
Where Usernames an simply an array? Can one do that in C# i&#8217;m not seeing that method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sangam uprety</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-1823</link>
		<dc:creator>sangam uprety</dc:creator>
		<pubDate>Mon, 18 May 2009 06:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-1823</guid>
		<description>Thanks for the post.
The same implementation could be observed from here also: http://dotnetspidor.blogspot.com/2009/03/check-username-availability-using.html</description>
		<content:encoded><![CDATA[<p>Thanks for the post.<br />
The same implementation could be observed from here also: <a href="http://dotnetspidor.blogspot.com/2009/03/check-username-availability-using.html" rel="nofollow">http://dotnetspidor.blogspot.com/2009/03/check-username-availability-using.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-1172</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 28 Apr 2009 04:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-1172</guid>
		<description>Why not use HttpHandler for server side checking..Use JQuery/JSON it will be very easy..
Example:
http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx</description>
		<content:encoded><![CDATA[<p>Why not use HttpHandler for server side checking..Use JQuery/JSON it will be very easy..<br />
Example:<br />
<a href="http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx" rel="nofollow">http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amgad Suliman</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-1137</link>
		<dc:creator>Amgad Suliman</dc:creator>
		<pubDate>Mon, 27 Apr 2009 07:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-1137</guid>
		<description>I wanted to keep this post simple, that&#039;s why I didn&#039;t use web service. I didn&#039;t think of using HTTPHandler instead of an ASPX page, that&#039;s an interesting thing to try. Thanks Jonathan.</description>
		<content:encoded><![CDATA[<p>I wanted to keep this post simple, that&#8217;s why I didn&#8217;t use web service. I didn&#8217;t think of using HTTPHandler instead of an ASPX page, that&#8217;s an interesting thing to try. Thanks Jonathan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Holland</title>
		<link>http://codehill.com/2009/04/check-if-user-name-exists-using-ajax-and-c/#comment-1119</link>
		<dc:creator>Jonathan Holland</dc:creator>
		<pubDate>Sun, 26 Apr 2009 19:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=625#comment-1119</guid>
		<description>I would suggest not using an ASPX page for your ajax callback handler and instead look at using a HTTPHandler. These are much lighter weight.

Another neat trick is that you could also use a ASP.NET WebService and have it wire up the JS automatically. If you did this, you could call the C# method from your JS without having to write any code.</description>
		<content:encoded><![CDATA[<p>I would suggest not using an ASPX page for your ajax callback handler and instead look at using a HTTPHandler. These are much lighter weight.</p>
<p>Another neat trick is that you could also use a ASP.NET WebService and have it wire up the JS automatically. If you did this, you could call the C# method from your JS without having to write any code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

