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.
its *you can use the paramter collection and the Updating... a bad practice to put database methods in a buisiness object anyway, as you want seperation of layers.
Update(IDictionary keys, IDictionary values, IDictionary old Values, Data Source View Operation Callback callback) 78 System. you should make a new object (adapter) that hosts the methods, and creates correct underlying business objects.
Please review the stack trace for more information about the error and where it originated in the code. Invalid Operation Exception: A control with ID 'fi1' could not be found for the trigger in Update Panel 'Update Panel1'.