Solved

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

Posted on 2014-10-07
2
1,885 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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