Email Availability Control using Microsoft AJAX and Json WCF
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEnUPUBQBUPHJEj3ygu066zL2Fovq92G0lTyWvfQEA5xH2RGNgrFHYCXvffC4g9qvTOmPtN6tIywSjvjIwRj7QVV2Luu4_Cbk3kE675JQxVuU7CmhosAAx0ZIVB01PaQtqBPYsJoeTlhQ/s1600/2.png)
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...