Drawer with dynamic views

2 posts, 0 answers
  1. Ingemar
    Ingemar avatar
    1 posts
    Member since:
    Dec 2013

    Posted 27 Mar 2014 Link to this post

    Im using the drawer to display a dynamic number of remote views. A PHP page is used to display the views:

    data-views="['drawer-home', 'drawer-settings',  'item.php?id=1',  'item.php?id=2',  'item.php?id=3' ]

    Loading the first view with Item 1 works fine, but then when switching to Item 2 the framework seems to think that it is the same page and displays the Item 1 view again.

    How can I fix this?

    And a second question, is it possible to force and update of a remote view? (Reload)
  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 27 Mar 2014 Link to this post

    Hi Ingemar,

    my guess is that you are processing the query string parameters on the server. If this is the case, you should use the remote view data-reload configuration option. The drawer should feature only 'item.php' as an allowed view - you don't need the query string parameters.

    Regards,
    Petyo
    Telerik
     
    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
Back to Top