|
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?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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!
|
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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.
|
|