Need to reload datagrid on edit?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top