You are correct - if you do not register a call-back, it won't be called. However, I'd like to turn your attention to the following points:
1. The overhead in performance for registering an event handler for the ItemCreated event will be so negligible that it will be barely caught (if at all) by code profiling tools.
2. There is no other event that can be used for putting grid rows in edit mode without rebinding the grid. You can certainly use DataBound
etc., but after setting the items' Edit
property to true you should call the grid's Rebind()
method - and this is bound to incur much more overhead than the previous approach.
3. Furthermore, please, take into consideration that the ItemCreated-event
approach won't work for the Inline
edit mode of the grid. Therefore, if you intend to use Inline
edit mode, you should use the grid's DataBound
event, put the newly dropped items in Edit
mode and rebind the grid.
I hope this information will prove helpful.
the Telerik team