Detailsview not updating gridview
I have the same problem, but in my case gv.databind() doesn't work.
Maybe is the reason that i'm using modal dialog window...
NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.
The ID and Name values are extracted directly from the Bound Field column, while the Description value is extracted via finding the Label control inside the Template Field column.
I've also tried setting 'View State = Disabled' on the Grid View too.
Nothing seems to get it to update its contents unless I click the 'Cancel' button. I found the answer from some previous work I had done, What I have found works is to remove the Gridviews Datasource, reset its Index and databind it.
they are accesing same db table but sqldatasources has diffrent sql queries for update commandevery think works well.
grid shows data, detailsview can edit and insert items.problem : but when I update/insert a record by using detailsview, gridview doesnt refresh its self for updated record.
I have a gridview which shows a list of records, and I have a detailsview which is used for updating/inserting itemsthese 2 visual control is binded to 2 diffrent sqldatasource.