RegisterClientScriptBlock - How to unregister?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top