Removing the startup script after registering one

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

Guest

I am using RegisterStartupScript within an asp.net code behind. Sometime,
after the page is Posted Back, I need to remove the Registered startup
script. Is there any way to remove that from the code behind? Also,
sometimes I just need to change the startup script to something else but if I
can remove it, then I can just add a new one as well.
 
Todd,

You do not have to "remove" registered script after PostBack - it is not
there unless you re-register it within your code.

HTH.
 

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