Data Grid does not reflect an update or insert.

S

Sunil Thomas

Hi,

I have a DataGrid on my aspx page which has 4 template columns with a footer
defined for data insert, each row also has an edit column.
Whenever an edit or insert is carried out, the procedure executes
successfully, however the change is not reflected on the DG immediately
although a .Databind() is fired along with the insert/update.
As a workaround, I have a button tagged "Refresh" which does a simple
postback and then the grid shows the changes.
What am I doing wrong? is there any way to overcome the additional postback?

Thanks for any help

Regards.
 

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,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top