To add to this that registering needs to happen in OnPreRender at the
latest. In Render it is too late because render process has begun for the
Page already.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"XicoLoKo" <> wrote in message
news:3CF5D395-EBD4-4458-AE22-...
> When do you call the Page.RegisterClientScriptBlock?
> What key are you using to uniquely identify each script?
>
> "Timothy Elvidge" wrote:
>
> > I have a menu control that is embedded in each web page. The menu
requires javascript for the mouseover events. I have tried
Page.RegisterClientScriptBlock and
> > Page.RegisterStartupScript to no avail. The script doesn't appear on the
parent page?? What to do?