Refresh Grid from tabStrip name

2 posts, 0 answers
  1. Lou Gallo
    Lou Gallo avatar
    1 posts
    Member since:
    Sep 2012

    Posted 06 Sep 2012 Link to this post

    I've got a tabstrip that gets data via an ajax call and loads a grid when a user clicks on the tab.  While the tab is open, the user can upload a new file.  In the success event of the Upload widget I want to reload the grid with the newly uploaded item shown on the list.  How can I find the tab, then simulate the tab click to execute the event handler?



    Thanks



  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2895 posts

    Posted 11 Sep 2012 Link to this post

    Hi Lou,

    To reload the grid with the updated data I would recommend calling the read method of the grid's dataSource. It will issue an Ajax request to the server, when the new data is received the grid will automatically refresh and populate with the new data.

    Regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top