Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio Button Lists

Status
Not open for further replies.

primagic

IS-IT--Management
Jul 24, 2008
476
GB
I have 17 columns in a table with a number/rating. 1 - 12

When a user adds a record there are 17 rows within a table on the page each with 12 options in the radio button list so they can choose the rating. So 17 rows, 17 radio button lists.

How can I have the page load with the 17 rows and their selected rating appear so it can be edited?
 
You want all rows to be editable? What object are you using to display the rows now?
 
Using radiobuttonlists

<asp:RadioButtonList></asp:RadioButtonList>

There is a datasource on the lists which takes the values and labels from a table within the database. This datasource is the same for each list. its just a look up to the ratings table - ratingvalue and rating text.

So for each record in the main table there will be 17 columns with a value for each, selected in the radiobuttonlist.

 
I understand you are using radiobutton lists. What object are you displaying them in? Are you using a gridview, repeater, listview, etc.?
 
They are not being display in any object. they are being displayed directly on the page with a table
 
I don't understand your question then. If they are being rendered directly to the page, you are able to change the value unless you set enabled="false
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top