protected void Page_Load(object sender, EventArgs e)
{
panel4radio1.Attributes.Add("onClick", "Hidecontrols()");
This is a great way to assign javascript functionality to my radio button. This doesn't however actually execute the javascript. I would like to do both - execute javascript such as hiding a label from the server side during a page load or another event and then assign javascript functionality to a control to show the label on the client side without another trip to the server. How do you execute javascript functionality at the server within code behind? Using the example, I would like to run the Hidecontrols() function on pageload.