J
John Smith
Hello,
I have a datagrid where I display images. I want visitors to be able
to rate the images on a scale of 1 to 10 by clicking a radio button,
which will cause an auto-postback. In that auto-postback event, I
want to be able to identify which row caused it, and determine which
value was selected. Then I want to write that information to a
database.
All the examples I have found concerning radio button lists and the
datagrid have to do with putting one radio button per row, to let
users select the row. My request is different, in that in each row,
there will be one radio button list with 10 buttons, from 1 to 10.
I can put the radio button list in the datagrid, and the auto-postback
feature does cause the form to post (because the screen blinks), but I
don't know the name of the raised event, so I can't begin to write the
handler. Also, I wouldn't know how to get the row and the value, thus
my posting here.
Thank you very much.
John
I have a datagrid where I display images. I want visitors to be able
to rate the images on a scale of 1 to 10 by clicking a radio button,
which will cause an auto-postback. In that auto-postback event, I
want to be able to identify which row caused it, and determine which
value was selected. Then I want to write that information to a
database.
All the examples I have found concerning radio button lists and the
datagrid have to do with putting one radio button per row, to let
users select the row. My request is different, in that in each row,
there will be one radio button list with 10 buttons, from 1 to 10.
I can put the radio button list in the datagrid, and the auto-postback
feature does cause the form to post (because the screen blinks), but I
don't know the name of the raised event, so I can't begin to write the
handler. Also, I wouldn't know how to get the row and the value, thus
my posting here.
Thank you very much.
John