I have a Grid with a command button that open a Dialog. This dialog has a Tabstrip with each tab loading content from a controller that returns a view. The tabstrip is built using the ASP.Net MVC Html wrapper.
<
p
>@(Html.Kendo().Dialog()<
br
> .Name("viewDetailsDialog")<
br
> .Title("Details")<
br
> .Content(<
br
> Html.Kendo().TabStrip()<
br
> .Name("viewDetailsTabstrip")<
br
> .Items(tabstrip => {<
br
> tabstrip.Add().Text("Tab 1")<
br
> .HtmlAttributes(new { @class= "tab_bar" })<
br
> .Selected(true)<
br
> .LoadContentFrom("Tab1Content", "MyController");<
br
><
br
> tabstrip.Add().Text("Tab 2")<
br
> .HtmlAttributes(new { @class = "tab_bar" })<
br
> .Selected(false)<
br
> .LoadContentFrom("Tab2Content", "");<
br
><
br
> )<
br
> .ToHtmlString()<
br
> )<
br
> .Closable(true)<
br
> .Width(900)<
br
> .Height(600)<
br
> .Modal(true)<
br
> .Visible(false)</
p
><
p
></
p
><
p
></
p
>
The dialog is opened via a JS function that's called by the Grid's Custom Command button. The details that need to be displayed in each tab in the dialog is unique to the row.
How do I modify the LoadContentFrom URL and pass query string parameters that are picked by the Tab1Content method on MyController?