Is it possible to implement Tabbing in Webdatagrid without enabling 'Activation' ?
In my case, I can't enable 'Activation' as it causes postback(even if cellpostback set to false) and enable all checkboxes which I had disabled in Initialize event.
Birendra,
Activation is required for keyboard navigation and tabbing through the grid. It is possible to enable Activation without it causing a post to the server on every cell activation and this depends on what properties and events you are using on the grid. Make sure the AutoPostBackFlags are set not to post back to the server and check if there may be related events that you don't need to handle. For example there may be things that can be done in JavaScript on the client through a client side event instead of the server side event.
Note that I may be able to give more specific advice if you provide me with the markup for your grid and a list of the events that you are handling and why each event is being handled.
Let me know if you have any questions with this matter.
Thanks for replying. I am using Webdatagrid version 16.1.20161.2044. Server side events used are: OnInitializeRow and Client side events used are: Initialize(used to enable/disable checkbox in Edit mode), EnteringEditMode(used to enable/disable cells); CellValueChanging(used to disable checkbox).
Hello Birendra,
Thank you for the update.
I do not expect that the events you handled would cause the issue
To assist you better I would like to reproduce the same scenario at my end so that I can debug the code and find the cause of the issue.
For that I have created a sample of Webdatagrid with the events you mentioned using version 16.1.20161. 2044. Please find the attached sample application. I would like you to modify the code and help me to reproduce the issue for further investigation.
Looking forward to hear you back.
Sincerely,Divya JainAssociate Software Developer
Thanks for replying. Solved the issue by adding a hidden column against each row(inside grid) in which the status of checkbox is kept like 2,3,F4,etc. Here, 2,3,4 implies cell index and 'F' implies False ie unchecked.
Moreover, activation is enabled and both 'EnableAjax' and 'EnableAjaxView' are set to true.