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

User control within radgrid

2 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 27 Aug 2010, 04:17 PM
I use user controls to edit/insert items within a radgrid.  I am having the following issues

- On insert/update, I want to automatically collapse the usercontrol and I am not sure how to do this
- I want to ensure that the user can only edit one radgrid item at a time.. so if the user clicks on edit for row 2 and row 1 was in edit, I want to collapse(take out of edit) row 1

Any help you can provide will be greatly appreciated.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Aug 2010, 07:46 AM
Hello John,

I guess you are performing the Update/insert operation manually. If you are performing the operation in code behind(manually), then set the AllowAutomaticInserts/Updates to false to close the inset/update form after insertion/updation .

If you want to open only one edit form at a time, set AllowMultiRowEdit property of RadGrid to 'false'.

Hope these information helps,
Princy.
0
Patrick Williams
Top achievements
Rank 1
answered on 06 Oct 2010, 04:42 PM
Hello Princy,

Thanks allot for the post it helped me well in my design for a particular page.

Regards,
Patrick
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Patrick Williams
Top achievements
Rank 1
Share this question
or