Home All Groups Group Topic Archive Search About

How to render script code at the end of Page?

Author
30 Apr 2005 9:35 AM
Jeff
How can a custom control render script at the end of page source?
Through render function inherited from WebControl,I can only render script
just above before or under my custom control,but cannot locate script under
all controls in the page.

Author
30 Apr 2005 11:39 AM
Alvin Bruney [Microsoft MVP]
register clientscript should do the trick

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------


Show quoteHide quote
"Jeff" <week***@gmail.com> wrote in message
news:C4C18BE8-2446-4053-9D1C-7DD7B8DB5D80@microsoft.com...
> How can a custom control render script at the end of page source?
> Through render function inherited from WebControl,I can only render script
> just above before or under my custom control,but cannot locate script
> under
> all controls in the page.