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

Refresh Grid from tabStrip name

1 Answer 231 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Lou Gallo
Top achievements
Rank 1
Lou Gallo asked on 06 Sep 2012, 05:45 PM
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



1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 11 Sep 2012, 01:18 PM
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!
Tags
TabStrip
Asked by
Lou Gallo
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or