Email Availability Control using Microsoft AJAX and Json WCF
Hi Guys, If you are a web developer, I am sure you would have encountered a scenario where you have to check the email/username availability. So I thought of making a control which will call a WCF service through Microsoft AJAX and let the user know whether the email/username is already taken or not. Hope you like it. Solution 1) Create a Solution like following, - One is a web site - Other is a Class Library 2) Open AjaxEnabledControls -> EmailTextBox.cs and paste the following code using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AjaxEnabled { public class EmailTextBox : TextBox,IScriptControl { private ScriptManager sMgr; public string ServiceUrl; prote...