Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

How to deregister scripts?

During page changes of datagrid, it seems that some scripts are still active and disappear only after the second page change. Is it possible to somehow deregister all previous scripts?

Thanks.
0
gromul
Asked:
gromul
  • 2
1 Solution
 
David H.H.LeeCommented:
glomul,
not sure why you need to de-register the script. Since all the script had the unique key, you can register it again with blank value(this will clear up all your previous involved script).
eg:
me.RegisterClientScriptBlock("ScriptName","")
0
 
gromulAuthor Commented:
Thanks xcom.
0
 
David H.H.LeeCommented:
Glad to help, gromul.

Regards
x_com
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now