I am having datagrid inside webexplorerbar. And .net button outside the explorerbar. I am binding data grid in page_load event with page is not postback condition.
On button click event I am getting grid object with items.count=0. I dont want to rebind data on every postback.
With above reference I want to use editable grid and want to save user inputs on button click so I cannot rebind grid on every postback.
Hi Ashwini,
Thank you for posting in our forums!
Is there a reason aside from saving the user inputs on the button click that you do not want to bind the WebDataGrid each postback?
It is possible to update the grid without updating your database. You can do this by setting AutoCRUD property of the EditingCore behavior to false. This allows you to control when the data will be updated.
If you need further assistance with this, please let me know.
Thanks your reply. We are using .NET datagrid not infragistics webdatagrid.
Is it compulsory that we have to use webdatagrid nested Infragisitcs webexplorer bar?
Replacing .NET datagrid with webdatagrid will resolve data loss issue on postback?
Thanks in advance
Thank you for the clarification.
It is not required for the WebDataGrid to be used in the WebExplorerBar. I am able to see that the DataGrid does not persist itself when used inside the WebExplorerBar. This behavior does not match its behavior outside of the WebExplorerBar and I am discussing this with the development team for more information.
I will have another update for you by Tuesday.
Hi Team,
Did you get any updated for this issue? Is this issue fixable? Or there no other solution to fix this issue and we have to take out grid from webexplorerbar?
I am still discussing this with the WebExplorerBar development team to see the best solution for this issue. I will update you again when I hear back from them with more information.