Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to deregister scripts?

Posted on 2004-04-04
3
Medium Priority
?
380 Views
Last Modified: 2008-03-06
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
Comment
Question by:gromul
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 2000 total points
ID: 10755170
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
 

Author Comment

by:gromul
ID: 10755172
Thanks xcom.
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 10756723
Glad to help, gromul.

Regards
x_com
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question