I am attempting to run some javascript code during the OnLoad event of my UpdatePanel like this:
<asp:UpdatePanel ID="updDropDowns" runat="server" OnLoad="javascript:ResetButtons();">
However, I am receiving an error saying "'javascript' is not a member of ASP.reasons_aspx".
I also tried
Me.updDropDowns.Attributes.Add("OnLoad", "javascript:ResetButtons();")
Unfortunately, I am unable to access the 'Attributes' property of an UpdatePanel in the VB code-behind.
Is there another way to achieve this?
Thanks,
Jason