Solved

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

Posted on 2014-10-07
2
1,855 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
c#, datatable, aspx 4 48
SSIS Column mapping 5 40
XML XDocument extract - Keeping a node list like a menu path 8 33
Need Help With GDI+ in VB.Net 8 39
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

737 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