Hi Guys
I've been struggling with this for days!
I have a radiobutton, label and a panel within a repeater and I'd simply like to add a javascript onclick to the radiobutton.
<rendering:RepeatTable ID="QuestionValues" runat="server" CssClass="myControl">
<asp:RadioButton ID="QuestionValue" runat="server" />
<asp:Label ID="QuestionValueLabel" runat="server" Text="Answ1" CssClass="QuestionValueLabel radio_false" />
<aspanel ID="QuestionValueMedia" runat="server" />
</rendering:RepeatTable>
I've tried simply adding the onclick within the code above but it doesn't appear in the output. I've also tried
protected void Page_Load(object sender, EventArgs e)
{
QuestionValue.Attributes.Add("onclick", "mytest();");
}
but to no avail....
Any help would be greatly appreciated!
Thanks
~S~
I've been struggling with this for days!
I have a radiobutton, label and a panel within a repeater and I'd simply like to add a javascript onclick to the radiobutton.
<rendering:RepeatTable ID="QuestionValues" runat="server" CssClass="myControl">
<asp:RadioButton ID="QuestionValue" runat="server" />
<asp:Label ID="QuestionValueLabel" runat="server" Text="Answ1" CssClass="QuestionValueLabel radio_false" />
<aspanel ID="QuestionValueMedia" runat="server" />
</rendering:RepeatTable>
I've tried simply adding the onclick within the code above but it doesn't appear in the output. I've also tried
protected void Page_Load(object sender, EventArgs e)
{
QuestionValue.Attributes.Add("onclick", "mytest();");
}
but to no avail....
Any help would be greatly appreciated!
Thanks
~S~