(2) added the following to the body tag of the Master page: <body id=”body1” runat=”server”>
(3) added the same javacript function to the Content page and added code to enable the panel as follows:
Var doc = document.getElementById(‘<%=pnlMyPanel.ClientID %>’);
doc.disabled = false;
(4) I added the following code to the Page_Load() event in order to use the onload event in the Content page:
HtmlGenericControl body = (HtmlGenericControl)Master.FindControl(“body1”);
But, the panel is not enabled. I ran debugger to check the values, and the disabled property of the doc object is successfully set to “false”. But, the panel remains disabled after the page load.
I’ve also tried this with the individual radio buttons, but got the same results.