Urgent - Visual Studio Express 2010 and Radio Buttons
Posted on 2011-10-13
Hi folks. I am using ms Visual Studio 2010 Express and have created a a page, test.aspx, that needs to have several radio button. Below is a snippet of one group:
<asp:Label ID="lblHome" runat="server" Text="Do you own your home?"></asp:Label>
<asp:RadioButton ID="RadHomeYes" runat="server" GroupName="RadHome" Text="Yes" />
<asp:RadioButton ID="RadHomeNo" runat="server" GroupName="RadHome" Text="No" />
I have a button on the page that executes coding in the test.aspx.vb page that retreives the values of the labels and textboxes. That codign works well.
The PROBLEM is that I can not seem to get the value of the radio button - they aren't required to click on it but I need to know if they did and WHICH one!
Please help as this is urgent.....