RadGrid for ASP.NET AJAX

RadControls for ASP.NET AJAX

If you need to put grid items in edit mode without additionally rebinding the grid you may use EditIndexes collection before grid is bound. Later, when the grid is bound it will take into account the entries in this collection and will create them in edit mode.

There are cases in which you may want to force the grid items in edit mode when the grid displays initially on the page.This is a straightforward task. You simply need to attach to the PreRender event of the control, traverse the items in the grid, detect those which are editable and set their Edit property to true. After traversing all items and performing this operation, you have to rebind the grid (calling explicitly its Rebind() method) to reflect the changes.

In the code-behind:

Another option (which is applicable only with in-forms edit mode (EditForms, WebUserControl or FormTemplate custom edit form) is to set the Edit property of all grid rows to true on initial load hooking the ItemCreated event:

Thus you will avoid the grid rebinding on PreRender.