Handle Event(Event Args e, Boolean causes Validation, String validation Group) at System. On Bubble Event(Object source, Event Args e) at System. This event is not raised when you programmatically set the Page Index property.
Raise Post Back Event(String event Argument) at System.
[Updated] I think what we are both saying is that if no one has subscribed to the event (i.e., no one is listening for it), there's no point in raising it.
I'm throwing an exception in the Item Inserting Event which I excpect to catch in the Item Inserted event using the Form View Inserted Event Args, however, the event does not flow from Item Inserting -Yes, for example, I validate and findout the length of the input exceeds the permisable value, then I throw a new Validation Exception(), ofcourse, I can simply handle it using condition checking but the actual problem is when I have an SQL Exception.
I'm trying to insert or update data into a database from detailsview through coding.
Without giving a datasource to details view, because it is very easy.