By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 1,937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

RegisterClientScriptBlock - How to unregister?

P: n/a
Hi,
I need to be able to register client script within a web user control. I
then need to unregister it.

How can I do this. I cannot find an unregister method.....

Many thanks,
coderazor
Sep 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
CodeRazor,
I think it's important to understand that what the Register method does is
actually write the script out into the page, that's all. So if you don't want
the script in the page, you would simply have conditional code that either
does or does not make the RegisterXXX call.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"CodeRazor" wrote:
Hi,
I need to be able to register client script within a web user control. I
then need to unregister it.

How can I do this. I cannot find an unregister method.....

Many thanks,
coderazor
Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.