ConvincingMail - Email Marketing SoftwareConvincingMail
 
Email Marketing Software

Welcome Guest! To enable all features please try to register or login.
Fire web service only when text was changed
nirnir
#1 Posted : Tuesday, March 17, 2009 3:43:00 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 3/15/2009(UTC)
Posts: 6
Points: 18

Hi,
In order to avoid unnecessary calls to the web service
How can I make it call the web service only when the textbox data is really changed
currently it fires on each entry to the textbox (while it is not empty)

Nir
trooper
#2 Posted : Tuesday, March 17, 2009 4:01:25 AM(UTC)
Rank: Administration

Groups: Administration
Joined: 11/18/2007(UTC)
Posts: 92
Points: 188
Man

Was thanked: 2 time(s) in 2 post(s)
Hi Nir,
There is a "delay" property you can set.
But the suggesstions list shows every time the field recieves focus.
You can use OnClientPopulating event to stop the server call.

Thanks
nirnir
#3 Posted : Tuesday, March 17, 2009 4:17:23 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 3/15/2009(UTC)
Posts: 6
Points: 18

Hi trooper ,

If I can prevent the call in OnClientPopulating it's even better .
Do you have a reference of the control ?

Thanks
Nir
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.5 RC1 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.048 seconds.