I have struggled with this for so long and I'm going crazy now.
ALl I'm trying to do is to have 3-4 radio buttons (vertically) with each particular item/text being a link. For instance:
<asp:RadioButtonList ID="RadioButtonList1" yadda yadda yadda runat="server">
<asp:ListItem TExt="Google">How do I add the hyperlink here??
<asp:ListItem TExt="Yahoo">How do I add the hyperlink here??
(o) Google (clickable text that leads me to www.google.com when clicked!)
(o) Yahoo (clickable text that leads me to www.yahoo.com when clicked!)
These two buttons are part of a RadioButtonList.
RadioButtonList MUST BE USED!
I tried, on the code behind, the following (Using VB.NET):
RadioButtonList1.Items(0) = "
Google"" (This is written as
Google with respective quote marks where they need to go. :-)
and the web application throws an error! I know there are ways to disable this error by either massing with the validation directive of the page itself or the webconfig file... I rather not take that approach.
How in the world can I do this simple thing??? I've searched and searched and I cannot find a solution.
Thank you!