473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

asp:radiobuttonlist Question

Hello,

I have an Asp:radiobuttonlist with its items and values.
I also have a button which when clicked runs the function Show_Results.

How can I access the value selected in my asp:radiobuttonlist?

Thanks,
Miguel

Nov 19 '05 #1
1 967

You can get the value and text as follows....

RadioButtonListName.SelectedItem.Value
RadioButtonListName.SelectedItem.Text
"Shapper" wrote:
Hello,

I have an Asp:radiobuttonlist with its items and values.
I also have a button which when clicked runs the function Show_Results.

How can I access the value selected in my asp:radiobuttonlist?

Thanks,
Miguel

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: nicole | last post by:
We have completed a clean install of Microsoft Server 2003 on our Web Server and are using frontpage 2002 for our web site. On our asp page (www.dgf.k12.mn.us/contactus.asp) we are getting the...
7
by: Mark | last post by:
Hi... I've been doing a lot of work both creating and consuming web services, and I notice there seems to be a discontinuity between a number of the different cogs in the wheel centering around...
5
by: Utada P.W. SIU | last post by:
<asp:RadioButtonList></asp:RadioButtonList> only allow create a vertical radion button list how can I use it to create a horizatial radio button list? thanks~
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
1
by: Chris Kettenbach | last post by:
Good Afternoon Everyone, Is there any way to set the font of the listitems inside a radiobutton list? I have tried spans, tds, and tables and I can seem to get it to work. The html redered by...
2
by: Tom Edelbrok | last post by:
I'm reading the section "Postbacks and Round Trips" in the Visual Studio 2005 Help (I use VB.NET). Amongst other things, it says that as a result of a postback "On the Web server, the page runs...
1
by: =?Utf-8?B?Qw==?= | last post by:
I have below. <asp:RadioButtonList ID="rblConfirm" runat="server"> <asp:listitem value="Yes">Yes</asp:listitem> <asp:listitem value="No">No</asp:listitem> </asp:RadioButtonList>
12
by: mcp6453 | last post by:
My small company has a web site that is developed in "Classic ASP", which is, I'm told, different from just "ASP". It is clear to me that we are not using ASP.NET. The site is hosted on a shared...
1
by: CSharper | last post by:
Quick question on ASP (still in ASP), if it is a wrong please let me know. I am very new to Web development so please bear with me if it is something simple. I have a asp page which has two...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.