This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid: Multiple Rows selected while clicking on AddNew button for insert.

2 Answers 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jojy
Top achievements
Rank 1
Jojy asked on 02 Apr 2009, 07:04 PM
I am using a radgrid for Insert,Update and delete with 

AllowMultiRowEdit

 

="false" AllowMultiRowSelection="false" and EditMode="EditForms"
with custom form.I am using the same custom form for  Insert and Edit.
Now facing an issue while clicking on Add new button which is placed on  CommandItemTemplate.

Scenario .

 

  1. After Clicking on edit link
  2. without canceling or updating if I click on Add new button.
  3. New Row is added to grid in Add new mode.

4. The edited row still remains in Expand mode.I need it to be in collapse mode.

My issue is I need to Collapse all rows except the new row while clicking on Add new as Multirowselected and MultiRowEdit is false or
help me to get code for making the expanded row to collapse.

In editmode this functionality is working.
Please help....
Thanks
Jojy

 

 

 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 03 Apr 2009, 03:51 AM
Hi,

Go through the following help article and see whether it helps.
Switching the Insert/Updade/Regular Modes

Thanks
Shinu
0
Jojy
Top achievements
Rank 1
answered on 03 Apr 2009, 02:32 PM
Shinu,
Thanks for the reply.Link was very helpful for resolving the issue
Tags
Grid
Asked by
Jojy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jojy
Top achievements
Rank 1
Share this question
or