This question is locked. New answers and comments are not allowed.
Hi,
I'm using tabstrip and the tabs are loaded on demand using LoadContentFrom. How can I pass a parameter through LoadContentFrom.
At the moment I have
but I would like to do something like that
Also I have a Grid in one of the partial views rendered but it's not working properly. It's layout correctly but I doesn't make the calls to the server. There nothing work with the definition beacuse it already tried in the main page and it works. Do I have to load again all the jquery libraries in the partial view? At the moment it is like this:
thank you
I'm using tabstrip and the tabs are loaded on demand using LoadContentFrom. How can I pass a parameter through LoadContentFrom.
At the moment I have
| LoadContentFrom("PatientBilling", "Patient"); |
but I would like to do something like that
| LoadContentFrom("PatientBilling", "Patient", new { ID = 14 } ); |
Also I have a Grid in one of the partial views rendered but it's not working properly. It's layout correctly but I doesn't make the calls to the server. There nothing work with the definition beacuse it already tried in the main page and it works. Do I have to load again all the jquery libraries in the partial view? At the moment it is like this:
| <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> |
| <%@ Import Namespace="YYYYYY"%> |
| <%@ Import Namespace="XXXX"%> |
| <%= Html.Telerik().Grid<Log>() |
| .Name("Grid") |
| .EnableCustomBinding(true) |
| .Columns(columns => |
| { |
| columns.Add(o => o.Description).Width(200); |
| columns.Add(o => o.EventDataColumn); |
| columns.Add(o => o.EventDataBefore); |
| columns.Add(o => o.EventDataAfter); |
| columns.Add(o => o.DateCreated).Format("{0:dd/MM/yyyy}").Width(120); |
| }) |
| .Pageable(paging => |
| paging.Total((int)ViewData["total"]) |
| .Style(GridPagerStyles.NextPreviousAndNumeric) |
| .PageSize(20) |
| ) |
| .Ajax(ajax => ajax.Action("PatientLogs", "Logs" , new { ID = ((Patient)ViewData["Patient"]).ID })) |
| .Scrollable(scrolling=>scrolling.Height(400)) |
| .Sortable() |
| %> |
| <br /> |
| <br /> |
thank you