Start Detailsview1 fired event itemupdating

Detailsview1 fired event itemupdating

I have tried setting Enable View State as required for details View throughout my codebehind file instead but this doesn't have any effect - either I always see the details View or the Update fails. When I set Auto Generate Rows to true, everything works fine.

Previous posts have said the sqldatasource Updated event has an exception in it, but I don't get any Updated event. Actually, I want to do the same thing with the Insert(Add) button. I set the Select Method to various values depending on the user's choices.

Apologies if this is something you've already answered - I have checked through the forums carefully for some time but could not find this precise issue covered anywhere else.

The situation is pretty simple - I have a Grid View and Details View bound to a SQL Server datasource; there are 4 employee records listed in my grid and a select for each to view (detailsview) further info on each employee. Details View in ajax update panel do not fire update event i have a gridview, when the user select a row there it populate the row details in detailsview, both the detailsview and gridview are in ajax update panel.

For this, I use the Item Updated event of the formview and try ...