Click here to Skip to main content
15,311,561 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 when clicked!)
(o) Yahoo (clickable text that leads me to 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!
Updated 13-Aug-14 12:19pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900