Solved

Get value of selected item of a Radio Button List - ASPxRadioButtonList

Posted on 2014-10-07
2
1,777 Views
Last Modified: 2014-10-08
How do I get the value of the selected radio button of a Radio Button List? I am using the DevExpress tool - ASPxRadioButtonList.
0
Comment
Question by:thinklings
  • 2
2 Comments
 

Author Comment

by:thinklings
ID: 40367594
I am using the following code although get an empty string passed -

string rbOptionSV = rbOption.SelectedItem.ValueString;

Open in new window


I have also ensured all values of each listed item is set.
0
 

Accepted Solution

by:
thinklings earned 0 total points
ID: 40367803
I changed my code to the below and it worked:

string rbOptionSV = rbOption.SelectedItem.Value.ToString();

Open in new window

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question