Welcome Guest Search | Active Topics | Sign In | Register

callback dummy text Options
Brad Coble
Posted: Friday, January 30, 2009 10:06:39 AM
Rank: Member
Groups: Member

Joined: 12/17/2008
Posts: 16
When using the callback control and the clientside afterupdate function, the output contains dummy text. How can I clear that so I can use CallbackEventArgs.Writer?
eo_support
Posted: Friday, January 30, 2009 10:53:57 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,089
Hi,

You can always use CallbackEventArgs.Writer. The dummy text will always be there but it's rendered as comment. So you can just ignore it.

Thanks!
Brad Coble
Posted: Friday, January 30, 2009 11:01:35 AM
Rank: Member
Groups: Member

Joined: 12/17/2008
Posts: 16
Doh, guess i wasnt clear. I am already using CallbackEventArgs.Writer. I want to be able to control what comes into the output parameter of clientside after update. Right now it places the dummy text first then whatever i add. I guess i could just parse it client side to remove the dummy text, but if i make this into a control i dont want to have to parse it on every page i add the control. Does that make more sense?

Thanks!
eo_support
Posted: Friday, January 30, 2009 11:08:03 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,089
Yes. Perfectly clear. You can just use substr to remove the dummy text. I believe it's always there and the length is fixed. So you don't really have to check, you can just cut it off.


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.