This is a migrated thread and some comments may be shown as answers.

Determining request type in RequestStart event

1 Answer 171 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Brian Roth
Top achievements
Rank 1
Brian Roth asked on 19 Jul 2013, 02:04 PM
Hello,

It seems like in one of the recent releases the RequestStart event changed so that it now fires for the Insert and Update events as well as the read event.  We have logic in our application that it supposed to run against a read event to warn the user if they have unsaved changes, but this change has made this warning fire even when the user is saving their changes.  Is it possible to find out the request type in RequestStart?  I know this is available in the RequestEnd method, but at that point, it's too late for our logic to run.  Or is there another way to handle this?

Thanks for the help!

Regards,
Brian

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 22 Jul 2013, 03:24 PM
Hi Brian,


Thank you for bringing this issue at our attention. You are right that since Q2 2013 release the requestStart event is fired on every CRUD operation, but a type parameter is needed to identify the type of the request. I escalated the issue to our development team and it is already fixed. The fix is available in the latest internal build (2013.2.722 or later).

As a small sign of gratitude I updated your Telerik points. I wish you a great day!

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Brian Roth
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or