- <div class="row">
- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- @(Html.Kendo().TabStrip()
- .Name("CustomerDetailsTabStrip")
- .Animation(false)
- .Items(tabstrip =>
- {
- tabstrip.Add().Text("Diensten")
- .Selected(_currentTab == 0)
- .LoadContentFrom(Url.Action("CustomerServices", "Service", new { @id = Model.DebtorCode }));
- tabstrip.Add().Text("Contractregels")
- .Selected(_currentTab == 1)
- .LoadContentFrom(Url.Action("CustomerContractLines", "ContractLine", new { @id = Model.DebtorCode }))
- .Visible(!Authenticate.HasRight(Right.ManageGo));
- tabstrip.Add().Text("Eenmalige kosten")
- .Selected(_currentTab == 2)
- .LoadContentFrom(Url.Action("CustomerCosts", "Cost", new { @id = Model.DebtorCode }))
- .Visible(!Authenticate.HasRight(Right.ManageGo));
- tabstrip.Add().Text("Facturen")
- .Selected(_currentTab == 3)
- .LoadContentFrom(Url.Action("CustomerInvoices", "Invoice", new { @id = Model.DebtorCode }))
- .Visible(!Authenticate.HasRight(Right.ManageGo));
- tabstrip.Add().Text("Locaties")
- .Selected(_currentTab == 4)
- .LoadContentFrom(Url.Action("CustomerLocations", "Location", new { @id = Model.DebtorCode }))
- .Visible(!Authenticate.HasRight(Right.ManageGo));
- tabstrip.Add().Text("Opmerkingen")
- .Selected(_currentTab == 5)
- .LoadContentFrom(Url.Action("Comments", "Comment", new { @id = Model.DebtorCode, commentType = "1" }));
- tabstrip.Add().Text("Orders")
- .Selected(_currentTab == 6)
- .LoadContentFrom(Url.Action("CustomerOrders", "Order", new { @id = Model.DebtorCode }))
- .Visible(!Authenticate.HasRight(Right.ManageGo));
-
- })
- )
-
- </div>
- </div>
How can i add another LoadContentFrom within the same tab ? the reason is that it is showing invoices isn't showing the last 2clumns of the invoicesgrid. this is because they have anouter action name, but the same controller name. How can i add this so i can olso see the last two colums of of the invoice grid. the name of the actrion is CDR and the controllerName is Invoice
thnx guys