Google Search

Google
 

Wednesday, December 19, 2007

ASP.NET Ajax Control (TextBoxWatermarkExtender,ValidatorCalloutExtender)

Here I demonstrate how to use AJAX Control TextBoxWatermarkExtender and ValidatorCalloutExtender in ASP.NET.


< asp:TextBox ID="txtFname" runat="server"/ >
< asp:RequiredFieldValidator ID="rfvFname" runat="server" ErrorMessage="Enter First Name"
ControlToValidate="txtFname" Display="None" ValidationGroup="vgCheck"/ >
< ajaxToolkit:TextBoxWatermarkExtender ID="twFname" runat="server" TargetControlID="txtFname"
WatermarkText="Enter First Name"/ >
< ajaxToolkit:ValidatorCalloutExtender ID="vcFname" runat="server" TargetControlID="rfvFname"/ >
< br / >
< asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="vgCheck" / >


TextBoxWatermarkExtender : This Ajax control attached to Textbox control to get WaterMark behavior. When Textbox control is empty it display Watermark text.To attach TextBoxWatermarkExtender to TextBox set TargetControlId of TextBoxWatermarkExtender to particular TextBox.

Here,I set TargetControlID of twFname to txtFname and set WatermarkText for txtFname.
You can also use Css Class with watermark contol.

ValidatorCalloutExtender : This Ajax control enhances the functionality of existing ASP.NET validators. To use this control, add an input field and a validator control as you normally would. Then add the ValidatorCallout and set its TargetControlID property to reference the validator control.

Here, I use rfvFname RequiredFieldValidator control to validate txtFname TextBox control. To use ValidatorCalloutExtender I set TargetControlID to rfvFname RequiredFieldValidator.

So,both control TextBoxWatermarkExtender,ValidatorCalloutExtender ASP.NET AJAX Control is very easy to understand and use to it.

36 comments:

Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

Anonymous said...

Without prescription hoodia Get vermox Sale acticin ED acomplia Side-effects duphaston Online naprosyn

Anonymous said...

Do You interesting of [b]Female use of Viagra[/b]? You can find below...
[size=10]>>>[url=http://listita.info/go.php?sid=1][b]Female use of Viagra[/b][/url]<<<[/size]

[URL=http://imgwebsearch.com/30269/link/buy%20viagra/1_valentine3.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/1_valentine3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/30269/link/buy%20viagra/3_headsex1.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/3_headsex1.png[/IMG][/URL]
[b]Bonus Policy[/b]
Order 3 or more products and get free Regular Airmail shipping!
Free Regular Airmail shipping for orders starting with $200.00!

Free insurance (guaranteed reshipment if delivery failed) for orders starting with $300.00!
[b]Description[/b]

Generic Viagra (sildenafil citrate; brand names include: Aphrodil / Edegra / Erasmo / Penegra / Revatio / Supra / Zwagra) is an effective treatment for erectile dysfunction regardless of the cause or duration of the problem or the age of the patient.
Sildenafil Citrate is the active ingredient used to treat erectile dysfunction (impotence) in men. It can help men who have erectile dysfunction get and sustain an erection when they are sexually excited.
Generic Viagra is manufactured in accordance with World Health Organization standards and guidelines (WHO-GMP). Also [url=http://twitter.com/jetlyca]q Buy Viagra Online[/url] you can find on our sites.
Generic [url=http://viagra.olistupa.ru]Viagra Super Active[/url] is made with thorough reverse engineering for the sildenafil citrate molecule - a totally different process of making sildenafil and its reaction. That is why it takes effect in 15 minutes compared to other drugs which take 30-40 minutes to take effect.
[b]Viagra Commercial Comedy
Viagra Multiple Ejaculation
best prices on brand viagra
take viagra and cialis
cheap viagra edinburgh find pages sites
Viagra Hong Kong
free viagra prescription
[/b]
Even in the most sexually liberated and self-satisfied of nations, many people still yearn to burn more, to feel ready for bedding no matter what the clock says and to desire their partner of 23 years as much as they did when their love was brand new.
The market is saturated with books on how to revive a flagging libido or spice up monotonous sex, and sex therapists say “lack of desire” is one of the most common complaints they hear from patients, particularly women.

Anonymous said...

Do You interesting how to [b]Buy Viagra per pill[/b]? You can find below...
[size=10]>>>[url=http://listita.info/go.php?sid=1][b]Buy Viagra per pill[/b][/url]<<<[/size]

[URL=http://imgwebsearch.com/30269/link/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.html][IMG]http://imgwebsearch.com/30269/img0/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/30269/link/buy%20viagra/3_headsex1.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/3_headsex1.png[/IMG][/URL]
[b]Bonus Policy[/b]
Order 3 or more products and get free Regular Airmail shipping!
Free Regular Airmail shipping for orders starting with $200.00!

Free insurance (guaranteed reshipment if delivery failed) for orders starting with $300.00!
[b]Description[/b]

Generic Viagra (sildenafil citrate; brand names include: Aphrodil / Edegra / Erasmo / Penegra / Revatio / Supra / Zwagra) is an effective treatment for erectile dysfunction regardless of the cause or duration of the problem or the age of the patient.
Sildenafil Citrate is the active ingredient used to treat erectile dysfunction (impotence) in men. It can help men who have erectile dysfunction get and sustain an erection when they are sexually excited.
Generic Viagra is manufactured in accordance with World Health Organization standards and guidelines (WHO-GMP). Also you can find on our sites.
Generic [url=http://viagra.deutafilm.ru]buy generic viagra online in canada[/url] is made with thorough reverse engineering for the sildenafil citrate molecule - a totally different process of making sildenafil and its reaction. That is why it takes effect in 15 minutes compared to other drugs which take 30-40 minutes to take effect.
[b]illegal to by viagra online
viagra for dogs
Sex And The City Viagra
st martin shopping viagra
Vrouwen Viagra
Viagra Under 40
viagra by phone
[/b]
Even in the most sexually liberated and self-satisfied of nations, many people still yearn to burn more, to feel ready for bedding no matter what the clock says and to desire their partner of 23 years as much as they did when their love was brand new.
The market is saturated with books on how to revive a flagging libido or spice up monotonous sex, and sex therapists say “lack of desire” is one of the most common complaints they hear from patients, particularly women.

Anonymous said...

Hey i am suuper boy

Anonymous said...

Where is admin?!
By the way, anybody home?!

Anonymous said...

alprazolam no prescription xanax side effects patients - xanax side effects on pregnancy

Anonymous said...

order alprazolam xanax side effects on kidneys - generic xanax mg

Anonymous said...

cheap viagra buy viagra us at shoppers drug mart - cheap viagra jelly

Anonymous said...

soma 350 mg drug soma side effects - soma drug coupon

Anonymous said...

order soma soma medication identification - soma austin

Anonymous said...

generic cialis buy cialis cheap generic - cialis online-versand

Anonymous said...

tramadol online pharmacy buy tramadol online usa - tramadol no prescription overnight cod delivery

Anonymous said...

xanax online xanax treats anxiety - xanax side effects blood pressure

Anonymous said...

buy carisoprodol cod carisoprodol 350 mg dose - carisoprodol barbiturate

Anonymous said...

buy carisoprodol carisoprodol thailand - soma carisoprodol back pain

Anonymous said...

generic cialis buy cialis online usa pharmacy - buy genuine cialis online

Anonymous said...

cialis online pharmacy buy cialis online with american express - cheap cialis viagra online

Anonymous said...

buy tramadol tramadol withdrawal 5-htp - tramadol online without prescriptions

Anonymous said...

http://buytramadolonlinecool.com/#56411 tramadol no prescription overnight cod delivery - tramadol 50 mg interactions

Anonymous said...

buy tramadol tramadol online without - buy tramadol 50mg

Anonymous said...

buy klonopin online klonopin withdrawal hypoglycemia - can you buy klonopin online

Anonymous said...

buy klonopin online much 2mg klonopin worth - klonopin side effects 2010

Anonymous said...

http://www.integrativeonc.org/adminsio/buyklonopinonline/#7163 klonopin withdrawal during pregnancy - klonopin pill

Anonymous said...

http://southcarolinaaccidentattorney.com/#31862 buy carisoprodol no prescription - carisoprodol information

Anonymous said...

I’m not that much of a internet reader to be honest but your sites really nice,
keep it up! I'll go ahead and bookmark your site to come back later on. Cheers

Here is my web blog ... phen375-canada.tumblr.com

Anonymous said...

If some one wishes to be updated with latest technologies therefore he must be visit this web site and be up to date all the time.



My website male menopause treatment

Anonymous said...

Excellent goods from you, man. I've understand your stuff previous to and you are just extremely fantastic. I really like what you have acquired here, certainly like what you're stating and the way in which you say it.

You make it entertaining and you still care for to keep it sensible.
I can not wait to read much more from you. This is
really a great web site.

Feel free to surf to my blog post :: buy thyromine

Anonymous said...

It's an amazing paragraph for all the online users; they will take benefit from it I am sure.

Here is my webpage: http://breastactivesonline.postbit.com/

Anonymous said...

My spouse and I stumbled over here different website and
thought I might as well check things out. I like what I see so now i'm following you. Look forward to looking at your web page for a second time.

My web page virility ex pills side effects

Anonymous said...

Hello I am so delighted I found your webpage, I really found you by error,
while I was researching on Digg for something else, Regardless I am here now and would just like to say kudos for a incredible post and a all round enjoyable blog (I also love
the theme/design), I don’t have time to read it all at the moment
but I have saved it and also added in your RSS feeds, so when I have time
I will be back to read more, Please do keep up the awesome work.


my web site :: buyvigrxplus.beep.com

Anonymous said...

I always used to study post in news papers but now as I am a user of net
therefore from now I am using net for posts, thanks to web.


Review my web page; http://sovchi.com/groups/uplift-and-tightness-of-my-breast-obviously/

Anonymous said...

Υour current rеρort features pгоven beneficial to me.

Іt’s quite educational and you really arе clearlу quіtе
knоwledgеablе in this field. Υou hаvе popрed
our eye fоr you to numеrous opinion of this ѕpecіfiс
mattеr аlong with intriquing, notable аnd
strong аrtiсleѕ.

Feel free to suгf to my page: ambien online

Anonymous said...

I relish, cause I discovered just what I used to be looking for.
You have ended my 4 day long hunt! God Bless you man.

Have a nice day. Bye

Feel free to surf to my blog post ... virility ex ()

Anonymous said...

ecig, e cigarette, electronic cigarettes, e cig, smokeless cigarettes, electronic cigarettes

Anonymous said...

күріш суп
күріш суп
lкүріш суп
күріш суп
қадам
жаңа студенттер
Мектеп
жұмыс істеуге өту
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
жұмыс істеуге өту
Мектеп
жұмыс істеуге өту
Турагенттік
Турагенттік
Турагенттік
жұмыс істеуге өту
Турагенттік
Мектеп
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
Турагенттік
Мектеп