Hi,
We have a webdatagrid that handles server side OnRowUpdated event to save the updated row. The cell editing is set to:
<EditModeActions EnableOnActive="True" EnableOnKeyPress="True" MouseClick="Single"></EditModeActions>
After changing a value and click off the row to a different cell, OnRowUpdated is called, the record is saved, the new ActiveCell is still there, but not in Edit Mode any more.
We can start typing or click in the cell to enter edit mode, but we would like it to stay in Edit Mode.
Any help will be appreciated!
Qiuyu
Hello Qiuyu,
Thank you for contacting Infragistics!
This is the expected behavior as the postback occurs. If you want to be in editmode after the postback you can handle a client side event and enter edit mode of the active cell using the following methods:
http://help.infragistics.com/NetAdvantage/ASPNET/2013.1/CLR4.0/?page=WebDataGrid~Infragistics.Web.UI.Activation~activeCell.html
http://help.infragistics.com/NetAdvantage/ASPNET/2013.1/CLR4.0/?page=WebDataGrid~Infragistics.Web.UI.CellEditing~enterEditMode.html
These can be found off the activation and cell editing behaviors. Please let me know if you have any further questions concerning this matter.
Sincerely, Mike P. Developer Support Engineer II Infragistics, Inc. www.infragistics.com
I have figured it out.
var ret = get_behaviors().get_editingCore().get_behaviors().get_cellEditing();
ret.enterEditMode(activeCell);
This is working now.
Thanks,