VB 2.0 FORMSVIEW on a web form, how do I access the contents of the labels and radiobuttonlist?
Posted on 2007-08-03
I am new to VB.NET 2.0 and my great difficulty is accessing the contents of the labels on the FORMSVIEW
In the ItemTemplate.
I have a radiobuttonlist that I want to access the selected value of, normally this works but it does not work if the radiobuttonlist is on the FORMSVIEW.
Protected Sub RadioButtonList2_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadioButtonList2.SelectedIndexChanged
Session("myselection") = RadioButtonList2.SelectedValue.ToString
How can I access the value?
Thank you for your help.