Fired event itemupdating
Hi I have 2 update buttons in my Form View ('Apply' and 'OK').
I want both buttons to update the data source but the 'OK' button should redirect afterwards.
We can register the scritp in the certain update button's update server event handler.
Since the client-side code will be executed after the page is rendering to client, all the server-side code will be executed as normal. And for client-side redirection, you can use window.= "new url" to do the work. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead This posting is provided "AS IS" with no warranties, and confers no rights. I'm not sure this will work for me as I may wish to use Server. I have discovered a more alarming problem with the Server-side redirect however: The exception thrown in the Object Data Source Inserted event does not stop the redirect in the Form View Item Inserted event. protected void ods Account_Inserted(object sender, Object Data Source Status Event Args e) // this still runs protected void fv Account_Item Inserted(object sender, Form View Inserted Event Args e) I find this very odd.