Category Archive: Ajax

Jul 28

How to use Ajax TextBoxWatermarkExtender in asp.net

In this article I am going to explain how to use water mark tool of Ajax toolkit, –>See in some of the sites we can observe that username and password are shows a tooltip like Ex: “Enter username” in the textbox this water mark text doesn’t go until we enter data in that particular textbox …

Continue reading »

Dec 24

what is ajax in asp.net

AJAX–> When you want a user to send data to your server — once they have filled out a form, for example — they normally have to submit the form and then wait as the entire page is refreshed. Similarly, if you want to retrieve new data from the server, you have no choice but …

Continue reading »

Nov 19

AJAX Toolkit Watermark extender with example

AJAX  Toolkit provides a variety of controls and extenders. In this blog  I would discuss use of Watermarkextender to <%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”Default.aspx.cs” Inherits=”_Default”%> <%@ Register assembly=”AjaxControlToolkit” namespace=”AjaxControlToolkit” tagprefix=”cc1″ %> <cc1:ToolkitScriptManager ID=”ToolkitScriptManager1″ runat=”server”> </cc1:ToolkitScriptManager> <asp:TextBox ID=”TextBox2″ runat=”server”></asp:TextBox><br /> <cc1:TextBoxWatermarkExtender ID=”TextBoxWatermarkExtender1″  TargetControlID=”TextBox2″ WatermarkText=”Enter username here” runat=”server”> </cc1:TextBoxWatermarkExtender> Above code is example of  TextBoxWatermarkExtender . It has two important …

Continue reading »