Hello Michael,
I've actually read that.
In my case, I have several user controls which are trying to register the
same/similar startup scripts (basically windows.onload = function
windowsLoadEvent()
{
do something here;
}
As you see all may have different purposes to run something on
windows.onload but as you know the last one written is the winner. So what I
want to do is th to keep the requests added to Page.Items and each time my
base function is called (all those user controls inherit from it) if it is
registered it will unregister and iterate from Page.Items to add all of them
together to the onload in 1 go.
Now as this is the case , I don't know when the last one will be called and
for many reasons I really do not want to do anything on the page level in
the prerender etc. (I am using a portal application and I don't want to
alter it as newever version will override the old one and I will forgot
that)..
Soo, I need to unregister. Isn't there really a way?
--
CTO
www.kbstours.com
"Michael Nemtsev"; "MVP" <ne*****@msn.comwrote in message
news:3d*************************@msnews.microsoft. com...
Hello KBSTours,
There is no standard way for this, but the small trick is there
http://hemant-vikram.blogspot.com/20...und.html#links
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
KRegisterStartupScript
K>