Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Thanks for creating this site - I expect to be visiting it often as I continue to try to grow my bag of tricks!..."

Geography

Where in the world do Tek-Tips members come from?
primagic (IS/IT--Management)
21 Jun 12 19:58
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?
jbenson001 (Programmer)
22 Jun 12 10:54
You want all rows to be editable? What object are you using to display the rows now?
primagic (IS/IT--Management)
22 Jun 12 11:03
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.

jbenson001 (Programmer)
22 Jun 12 11:25
I understand you are using radiobutton lists. What object are you displaying them in? Are you using a gridview, repeater, listview, etc.?
primagic (IS/IT--Management)
22 Jun 12 11:41
They are not being display in any object. they are being displayed directly on the page with a table
jbenson001 (Programmer)
22 Jun 12 13:06
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"

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close