Skip to main content

Posts

Showing posts from 2007

ASP.NET AJAX username availability check

When you have a name as common as mine, you run across the entire gamut of schemes to deal with username availability in membership systems. By availability, of course I mean denial and rejection. Out of all of the ways that I’ve had “Dave” rejected, inline AJAX verification is definitely the least annoying. Wanting to be less-annoying myself, I’ve added the same functionality to my ASP.NET AJAX sites. Let me show you how I did it. Note: I will preface this example by saying that an UpdatePanel is not the most efficient possible way to solve the problem. Something like this is lighter over the wire. However, for the vast majority of sites, this method is perfectly suitable and much easier to work with.Setting up the page.For this example, I’m going to use a very simple registration form: Username: <asp:TextBox runat="server" id="Username" /><br /> Password: <asp:TextBox runat="server" ID="Password" /><br /> Confirm: &…

Is AutoComplete Extender working

There are numerous blogs and forums discussing that “AutoComplete Extender is not working”. When I had to work on it for one of my clients, I too found that AutoComplete Extender does not work. I followed the steps given in http://ajax.asp.net/ but I was left with the same impression that “AutoComplete Extender is not working” . Anyway try try again till you get gain is the formula I generally adopt. After googling of hours together, I found the solution. Though the solution is given in many forums/blogs, yet you need to give more attention to it to catch the point. So in this blog I tried to highlight the small but the important lines that require more attention. AutoComplete Extender AutoComplete is an ASP.NET AJAX extender that can be attached to any TextBox control, and will associate that control with a popup panel to display words that begin with the prefix typed into the textbox. Following are the steps:-Step 1 : Add autocomplete extender where you want to and configure it as…