Solved

How to deregister scripts?

Posted on 2004-04-04
3
363 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 500 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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…

830 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