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

Detach EditForm from Parent

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
JP
Top achievements
Rank 1
JP asked on 12 Jun 2012, 04:20 PM
Hi,

I implemented a copy command which takes the current row and creates a copy which is then edited. But I don't want that the edit form is displayed below the item I used as source. I want it to be displayed at the top (like the insert form).
How can I achieve this in the ItemDataBound event? I "Just" want to remove the ParentItem from the GridEditFormItem.

Thanks for your help!

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 15 Jun 2012, 12:06 PM
Hi,

 By design the edit form of the grid is displayed below the dataItem that you are trying to edit so that the user knows which item is currently being edited.  The grid does not provide an API to change this position. An alternative is to use an external edit form outside of the grid as shown in this demo.

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
JP
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or