D
DMS
I have an editable datagrid.
When the user clicks edit, behind the scenes I am reloading the data
to recreate the dataset, then rebinding the grid. (and setting the
edit index)
Question: Am I supposed to be able to get the grid to go into edit
mode without actually reloading the data (by calling .databind only)?
When I try to call .databind without reloading the datasource, I get a
blank datagrid. I have enableviewstate=true. I've seen some examples
on MSDN that seem to call .databind without resetting the datasource,
but I can't get it to work.
(yes, I know caching is an option... but I was hoping the viewstate
was enough an I wouldn't have to reload the datasource at all)
thanks in advance.
When the user clicks edit, behind the scenes I am reloading the data
to recreate the dataset, then rebinding the grid. (and setting the
edit index)
Question: Am I supposed to be able to get the grid to go into edit
mode without actually reloading the data (by calling .databind only)?
When I try to call .databind without reloading the datasource, I get a
blank datagrid. I have enableviewstate=true. I've seen some examples
on MSDN that seem to call .databind without resetting the datasource,
but I can't get it to work.
(yes, I know caching is an option... but I was hoping the viewstate
was enough an I wouldn't have to reload the datasource at all)
thanks in advance.