C
chrispragash
Hello all,
I am trying to hide a panel when my asp.net page first renders - the
objective is to toggle the visibility at the click of a button. I wrote
a javascript (with script like ClientID.style.visibility = "hidden"),
registered this script using Page.RegisterClientScriptBlock, and added
an Attribute to the control (Control.Attributes.Add("onLoad", "Id of
script")). The javascript is not being called at all!. Any ideas would
be of great help.
Regards,
Chris
I am trying to hide a panel when my asp.net page first renders - the
objective is to toggle the visibility at the click of a button. I wrote
a javascript (with script like ClientID.style.visibility = "hidden"),
registered this script using Page.RegisterClientScriptBlock, and added
an Attribute to the control (Control.Attributes.Add("onLoad", "Id of
script")). The javascript is not being called at all!. Any ideas would
be of great help.
Regards,
Chris