I am trying this in RadGrid:
Select multiple rows. Click on "Edit" button and display one editing form beside RadGrid for bulk-editing purpose.
I have done the multi-selection settings for RadGrid:
1. Add AllowMultiRowSelection="True" attribute.
2. AllowClientSideSelection = True
3. Add GridClientSelectColumn for selection
<radG:GridClientSelectColumn HeaderStyle-Width="40px" >
<HeaderStyle Width="40px"></HeaderStyle>
</radG:GridClientSelectColumn>
To handle the editing, I need 2 events to handle the issues:
On server side:
I need to get the list of ID of each row is selected. The ID is the first column from DataSource, it is also the second column in RadGrid. I use RadGrid1.SelectedIndexChanged event to get the info, but I have difficulty in getting ID list. Can you show me the code?
On client side:
I need an event to disable the editing form if the row select changed.
I use OnRowSelected = return confirm('select?'); for a test. But it does not respond as I expect. Can you tell me where or which event I should use?
Thank you very much!
Darren L.
Select multiple rows. Click on "Edit" button and display one editing form beside RadGrid for bulk-editing purpose.
I have done the multi-selection settings for RadGrid:
1. Add AllowMultiRowSelection="True" attribute.
2. AllowClientSideSelection = True
3. Add GridClientSelectColumn for selection
<radG:GridClientSelectColumn HeaderStyle-Width="40px" >
<HeaderStyle Width="40px"></HeaderStyle>
</radG:GridClientSelectColumn>
To handle the editing, I need 2 events to handle the issues:
On server side:
I need to get the list of ID of each row is selected. The ID is the first column from DataSource, it is also the second column in RadGrid. I use RadGrid1.SelectedIndexChanged event to get the info, but I have difficulty in getting ID list. Can you show me the code?
On client side:
I need an event to disable the editing form if the row select changed.
I use OnRowSelected = return confirm('select?'); for a test. But it does not respond as I expect. Can you tell me where or which event I should use?
Thank you very much!
Darren L.