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

Remove view - parameterized

2 Answers 93 Views
Application
This is a migrated thread and some comments may be shown as answers.
Jeremy Wiebe
Top achievements
Rank 1
Jeremy Wiebe asked on 24 Sep 2012, 05:31 PM
Edit: I have a typo in the thread title, it should be "Remote view..." not "Remove".   

I am writing a mobile web app that leverages the Kendo UI Mobile 'Application' object.  In one part of the application I am walking a user through selecting a vehicle (year first, then make, then model, etc).  Each of these selections is on it's own page.  Each list is retrieved from a back-end service.  The 'make' depends on the 'year' selected, and the 'model' depends on 'year' and 'make'.  I had built a small utility function that would parameterize the URL I send to the Kendo application's navigate() method and it was working great on version 2012.2.710.  However, in another area I ran into this bug (http://www.kendoui.com/forums/framework/mvvm/bug-nested-array---source-binding.aspx) and was forced to upgrade to 2012.2.913.  This fixes the bug but now there's some code in the navigate() method that strips of any query parameters from the url.  

So, I was doing this:
app.navigate('/Home/SelectMake?year=2012');

and now (version 913) Kendo ends up basically doing this:

app.navigate('/Home/SelectMake');
 
So my question is this: Is there a recommended way to load remote views with parameters?  If not, why was the code added that strips the query parameters when navigating (as this breaks my code now)?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 25 Sep 2012, 07:29 AM
Hello,

This bug is addressed in our latest internal build, available for download. Give it a try. 

Greetings,
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
Jeremy Wiebe
Top achievements
Rank 1
answered on 25 Sep 2012, 02:09 PM
Thank-you.   That fixes the issue!
Tags
Application
Asked by
Jeremy Wiebe
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Jeremy Wiebe
Top achievements
Rank 1
Share this question
or