It seems that adding the trigger in the Item Created event wasn't working. Grid View Details View 2 Linq Data Source Here is a very simple example that has a Grid View, Details View, and two Linq Data Sources, both of which point to the Northwind Products table.
In there, I created a function Register Post Back Trigger so I can call it from my usercontrols, or my page. i extend my class to our webpage my isn't working.
It is a sample detailsview with NAME textbox field and STATE Drop Down List field.
(I removed other fields for easier reading) When user click a member on my gridview( not show here) , I will databind this detailsview and the user can edit immediately (not by click edit button).
By the way, here's how I got the trigger to work.
This is a usercontrol that contains a detailsview with a fileupload control inside of it. First, I added an On Item Created event to the details view.