This question is locked. New answers and comments are not allowed.
Hi,
I have an ajax-bound grid inside a tabstrip that is loaded with loadcontentfrom(). All of the tabs use the same grid, but each time it is bound to different items in the model. I would like to use a single grid and pass the tab index in the ajax select method. How do I do this? Specifically:
Thanks for your help!
AldenG
I have an ajax-bound grid inside a tabstrip that is loaded with loadcontentfrom(). All of the tabs use the same grid, but each time it is bound to different items in the model. I would like to use a single grid and pass the tab index in the ajax select method. How do I do this? Specifically:
Part of tab strip:@{ Html.Telerik().TabStrip() .Name("TabStrip") .Items(parent => { parent.Add() .Text("My Tasks") .Selected(true) .LoadContentFrom("MyTasks", "Tasks");...And Grid inside tabstrip:@(Html.Telerik().Grid(Model).Name("TaskGrid") .ToolBar(commands => commands.Insert()) .DataKeys(keys => keys.Add(c => c.Id)) .DataBinding(dataBinding => dataBinding .Ajax().Select("_AjaxMyTasks", "Tasks", new { tabindex = WHAT GOES HERE? })And the Ajax select method in the controller: public ActionResult _AjaxMyTasks(string tabindex) {...AldenG