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

Disable Sammy Route when open Kendo UI Windows

1 Answer 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 26 Feb 2013, 01:35 PM
I have an app using Kendo and Sammy. The app is a SPA app with multiple views and each page has a Sammy route associated with it. On the second page, I need to open a kendo window. When I do so, the Sammy router gets invoked which is something I do not want. The new window has no path associated with it, so it matches the default route which causes the app to change its page back to the home page. Can anyone tell me either how to prevent the default route from running when I open the kendo window? I guess another interesting but optional fix would be to associate a sammy route with the kendo Window. 

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 27 Feb 2013, 11:24 AM
Hello Brian,

The window should not load any URL unless it has been specified. Please show a reproduction of the problem (preferably in jsbin) if you are experiencing a problem related to the window widget. If the problem is specific to Sammy, we may not be able to help.

On a related note, the newly released Q1 beta contains a SPA implementation (here are its demos and documentation). If it is plausible to switch to it and cut down your dependencies, it is more likely that we will be able to address the issue.

All the best,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Brian
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or