Solved

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

Posted on 2014-10-07
2
1,661 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
Comment Utility
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
Comment Utility
I changed my code to the below and it worked:

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

Open in new window

0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now