Hi, I have a problem with webdatagrid when pressing enter key in a disabled column. I need grid events (as Row Adding) to be fired whenpressing enter key in a disabled column, but instead that, the next control event is fired (like button click for example).
Hello Edward,
Thank you for contacting us.
This is the default behavior of our WebDataGrid, the new row will be added if you are at the last available cell and hit enter, although we can easily workaround this. I have modified your sample and now when enter is hit, if the focus is at any cell of the "Add New Row" section, the row will be committed.
Code snippet:
Let me know if I may be of further assistance.
Hi, in fact that code works for commiting the row, but that is not the problem.If you test your code in the txt you receive the message: "Response from button..." when commiting the row.It means that the button events (client side and server side) are fired.
I need to avoid others controls events to be fired when press the enter key in a disabled column in WDG.
Hi, thanks for your reply, I applied a workaround, that works for me
Thank you for getting back to me, I am glad to hear that.