Remove view - parameterized

3 posts, 1 answers
  1. Jeremy Wiebe
    Jeremy Wiebe avatar
    11 posts
    Member since:
    Jun 2012

    Posted 24 Sep 2012 Link to this post

    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. Answer
    Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 25 Sep 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Jeremy Wiebe
    Jeremy Wiebe avatar
    11 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    Thank-you.   That fixes the issue!
Back to Top