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

Detect the Cause for a Change Event

2 Answers 65 Views
SPA
This is a migrated thread and some comments may be shown as answers.
mgs
Top achievements
Rank 1
mgs asked on 25 Mar 2013, 06:42 PM
Can I find out, if a route is changed by means of browser buttons or by clicking a link or by explicit navigate call?

Michael G. Schneider

2 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 27 Mar 2013, 12:39 PM
Hello Michael,

Unfortunately, such cause data is not available in the hashChange window event (which the router uses internally). If you need such logic, you may bind to the link click event and perform additional logic in the handler, calling navigate afterwards.

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
mgs
Top achievements
Rank 1
answered on 27 Mar 2013, 05:08 PM
Hello Petyo,

thanks a lot for the answer.

Michael G. Schneider
Tags
SPA
Asked by
mgs
Top achievements
Rank 1
Answers by
Petyo
Telerik team
mgs
Top achievements
Rank 1
Share this question
or