A
Andr? Borges Medeiros
Hi All,
I'm building an Webcontrol and overriding OnPreRender i want inject
client javascript, but RegisterStartupScript and
IsStartupScriptRegistered is not been shown in the list of methods of
Page object.
If i put Page.IsStartupScriptRegistered or Page.RegisterStartupScript
in code i don't get an Compile-Time error, but a Runtime error occurs:
NullReferenceException
Thanks in advance
André Medeiros
I'm building an Webcontrol and overriding OnPreRender i want inject
client javascript, but RegisterStartupScript and
IsStartupScriptRegistered is not been shown in the list of methods of
Page object.
If i put Page.IsStartupScriptRegistered or Page.RegisterStartupScript
in code i don't get an Compile-Time error, but a Runtime error occurs:
NullReferenceException
Thanks in advance
André Medeiros