this is the code behind from asp net page, I don't have error.
I have two questions:
- Why when you update the value of the pieces in the gridview doesn't refresh the data required by the update query ?
- to display correct update data I need refresh the web page...
- Why RegisterClientScriptBlock doesn't work in GridView1_RowUpdated ?
Thanks you very much for your help.
Chevy Mark SunderlandPosted Nov 15, 2012, 6:03 AM
this is the new code behind, but I have the same problem...
Suthish NairPosted Nov 15, 2012, 5:48 AM
When RegisterClientScriptBlock is used, the JavaScript get injected early in page load before its called and loaded.
This is how .NET callbacks works, its' not an issue of grid view.
Try with RegisterStartupScript.