I have gridview and formview, when clicking on select(Edit) button in gridview the record will be displayed in formview. In formview i do all the operations like insert,edit,delete....Everything fine except gridview refresh problem.

that is when i insert a record from formview the GRIDVIEW NOT UPDATING ROW FOR THE FIRSTTIME WHEN I CLICK INSERT/UPDATE/DELETE BUTTON but it can after clicking on any other buttons (second time, ie second event).

Pls help me where i am doing mistake....

FYI i am using updatepanel, on page_load i have added gridview1.DataBind();

Thanks
Mahir

I have experienced this also. I got around it by doing a databind again in the item command handler for the formview.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.