Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
UWG 2008.2 && ObjectDataSource: Manually trigger insert/update/delete events
posted

Hi,

we want to use a grid together with an ObjectDataSource. Now we have the problem that the inserts/updates/deletes are only executed after all other events have been processed.

This is really annoying if you rely on those changes in your event handler (e.g. in a button click event). I tried several things and using RaisePostDataChangedEvent allows us to enforce the execution of those changes - but it also results in all events fired twice. Those events are raised for the first time when I call RaisePostDataChangedEvent - and then they are raised for the second time after the execution of all events.

How can we solve this problem?

Regards,

Mark Junker

Parents
No Data
Reply Children
No Data