I have a multiselect that I am using to filter the data for a graph. When I select a small number of items from the multiselect everything is working properly. However, when I select 1100 items from the multiselect, the DataSourceRequest is null. Is there a data limit that I have hit? Can I get pass it and actually pass all 1100 item?
I have attached screenshots for context. And here is the .Read call
.Read(read => read.Action("SampleMethodTest", "MyController").Data("MultiSelectFilterValue"))
Thanks,
Ricky
I have a MVC page with a kendo grid. The data is already available so I am using server binding. What I am trying to accomplish is in presenting all of the data needed in the DetailTemplate option. I am trying with no success to display multiple layers of grids in the DetailTemplate.
I first have a grid on the page showing the data for a ServiceLine. This grid has a DetailTemplate with a tabstrip. The first tab strip shows service line data and the second tab strip shows data for other insurance (which is a grid). This displays correctly for the user when selecting the detail icon. Both the service line data and the other insurance grid is displayed.
The grid showing other insurance also has a Detail Template showing a grid of adjustments. This is where the problems resides. The other insurance grid does show the icon for the detail but the third grid for adjustments does not show when the user clicks on the detail icon. I am not sure what is incorrect in defining the DetailTemplate for the adjustments grid.
If you have any ideas or samples of server binding grid details for multiple layers deep would be helpful. If not I will have to look at other methods (ClientTemplates?) to solve this issue.
Here is the MVC cshtml page:
@inherits BaseRazorView<List<DentalServiceLineModel>>
@{ Html.Kendo().Grid(Model)
.Name("DentalServiceLinesGrid")
.HtmlAttributes(new { @class = "editor-grid" })
.Columns(columns =>
{
columns.Bound(e => e.LineNumber).Title("#").Width("8%");
columns.Bound(e => e.FromDate).Title("From Date").Width("8%");
columns.Bound(e => e.ProcedureCode.FormattedText).Title("Procedure Code");
columns.Bound(e => e.ToothNumber.FormattedText).Title("Tooth Number");
columns.Bound(e => e.Units).Title("Units").Width("10%");
columns.Bound(e => e.ChargeAmount).Title("ChargeAmount").Width("15%");
})
.Scrollable()
.DetailTemplate(e =>
{
Html.Kendo().TabStrip()
.Name("slTabStrip_" + e.LineNumber)
.SelectedIndex(0)
.Items(items =>
{
items.Add().Text("Service Line Details").Content(@<text>
@RenderServiceLineInformation(e)
</text>);
items.Add().Text("Other Insurance").Content(@<text>
@RenderServiceLineOtherInsurances(e.LineNumber, e.OtherInsurances)
</text>);
})
.Render();
})
.DataSource(dataSource => dataSource.Server())
.NoRecords("No Data")
.Render();
}
@helper RenderServiceLineInformation(DentalServiceLineModel dentalServiceLine)
{
<div id="serviceLine_@dentalServiceLine.LineNumber">
<div class="row">
<div class="col-md-5 editor-col">
<div class="editor-label">Procedure Code</div>
<div class='editor-field font-weight-bold editor-clear'>@dentalServiceLine.ProcedureCode.FormattedText</div>
</div>
<div class="col-md-5 editor-col">
<div class="editor-label">Additional Procedure Code Description</div>
<div class='editor-field font-weight-bold editor-clear'>@dentalServiceLine.ProcedureCodeAdditionalInfo</div>
</div>
</div>
</div>
}
@helper RenderServiceLineOtherInsurances(int serviceLineNumber, List<OtherInsuranceServiceModel> serviceLineOtherInsurances)
{
@(Html.Kendo().Grid(serviceLineOtherInsurances)
.Name("DentalServiceLinesGrid_OtherInsurances_" + serviceLineNumber)
.Columns(columns =>
{
columns.Bound(o => o.LineNumber).Title("#").Width("3%");
columns.Bound(e => e.Carrier.Name).Title("Other Carrier");
columns.Bound(e => e.PaidAmount).Title("Paid Amount").Width("15%");
columns.Bound(e => e.PaidDate).Title("Paid Date").Width("10%");
columns.Bound(e => e.Units).Title("Units").Width("10%");
columns.Bound(e => e.PatientLiabilityAmount).Title("Patient Liability").Width("20%");
})
.Scrollable()
.DetailTemplate(soi =>
{
Html.Kendo().Grid(soi.Adjustments)
.Name("DentalServiceLinesGrid_OtherInsurances_Adjustments_" + soi.Adjustments)
.Columns(columns =>
{
columns.Bound(c => c.LineNumber).Title("#").Width("3%");
columns.Bound(c => c.GroupCode.Name).Title("Group Code");
columns.Bound(c => c.ReasonCode.Name).Title("ReasonCode");
columns.Bound(c => c.Amount).Title("Amount").Width("14%");
columns.Bound(c => c.Units).Title("Units").Width("14%");
})
.Scrollable()
.NoRecords("No Data");
})
.Scrollable()
.NoRecords("No Data")
)
}

@(Html.Kendo().Grid((IEnumerable<MyNameSpace.Services.LocationsInProfile>)ViewBag.locationInProfile) .Name("grid") .Columns(columns => { columns.Bound(location => location._PrimaryText).Title("Primary Location"); columns.Bound(location => location._SecondaryText).Title("Secondary Location"); columns.Command(command => command.Custom("Remove").Click("RemoveLocation")); } ) .Pageable() .HtmlAttributes(new { style = "height:380px;" }) .Scrollable() .Sortable() .Pageable(pge => pge .Refresh(true) .PageSizes(true) ) )public JsonResult ListLocationsInProfileClientID(int id) { LocationsInProfile[] res = bbc.ListLocationsInProfileClientID(id); return Json(res, JsonRequestBehavior.AllowGet); }public JsonResult KendoListLocationsInProfileClientID([DataSourceRequest] DataSourceRequest request, int id) { LocationsInProfile[] res = bbc.ListLocationsInProfileClientID(id); return Json(res, JsonRequestBehavior.AllowGet); }@(Html.Kendo().Grid<MyNameSpace.Services.LocationsInProfile>() .Name("grid") .Columns(columns => { columns.Bound(location => location._PrimaryText).Title("Primary Location"); columns.Bound(location => location._SecondaryText).Title("Secondary Location"); columns.Command(command => command.Custom("Remove").Click("RemoveLocation")); }) .Pageable() .Sortable() .Scrollable() .Filterable() .HtmlAttributes(new { style = "height:430px;" }) .DataSource(dataSource => dataSource .Ajax() .PageSize(20) .Read(read => read.Action("KendoListLocationsInProfileClientID/" + ViewBag.clientID, "BackupRest")) ))
Hi
I'm having trouble binding my grid to my Web API, the grid is always empty. Is there something I may have missed.
My Web API returns the following JSON:
{"Contacts":[{"Id":1,"Salutation":"Mr","FirstName":"David","LastName":"","Address1":"10 High Street","City":"Birmingham","Postcode":"B76 1FP"},{"Id":2,"Salutation":"Mr","FirstName":"Fred","LastName":"Bloggs","Address1":"5 Birmingham Road","City":"Solihull","Postcode":"B26 1EW"}]}
I have a Kendo Grid setup like this:
$("#grid").kendoGrid({ dataSource: { transport: { read: { dataType: "json", url: "http://localhost:54604/api/Contacts" } }, pageSize: 20, schema: { model: { id: "Id", fields: { Id: { type: "number"}, Salutation: { type: "string"}, FirstName: { type: "string" }, LastName: { type: "string" }, Address1: { type: "string" }, City: { type: "string" }, Postcode: { type: "string" } } }, data: "Contacts" } }, height: 550, filterable: true, sortable: true, pageable: true, columns: [ { field: "Salutation" }, { field: "FirstName", title: "First Name" }, { field: "LastName", title: "Last Name" }, { field: "Address1", title: "Address 1" }, { field: "City" }, { field: "Postcode" } ]});

I have two responsive panels in the page which then collapse into two "hamburger" menus. The problem that I have is when I click on one "hamburger" menu both of them expand. How do you go about expanding each "hamburger" menu separately?
For background, I have created a default website and added a page with the same code as found at this link.
https://demos.telerik.com/aspnet-mvc/responsive-panel
The first "hamburger" menu is the default menu items of a web site and the second "hamburger" menu is generated by the code used from the above link.
I have also uploaded a screenshot for reference. What am I missing?
Thank you,
Ricky
Hi,
I want to use server side paging for grid in my project. I was unable to achieve that. Could you provide any working sample of code. Below is my code.
@{Html.Kendo().Grid<ViewModels.GridModel>()
.Name("grdTasks")
.Columns(columns =>
{
columns.Bound(o => o.ActionItemId)
.Hidden(true);
columns.Bound(o => o.StudyNo)
.Title(@Html.GetResourceValue("DashboardWidget.TaskTracking", "AI_UI_Label_ActionItemStudy")
.ToHtmlString())
.Width(75)
.HtmlAttributes(new { @class = "gridRowLeftAligned", style = "color:black;" })
.HeaderHtmlAttributes(new { @class = "gridHeaderRow", style = "border:none; font-family:Arial text-align:left;font-size: 12px; " })
.Filterable(false)
.Sortable(true);
columns.Bound(o => o.SiteName)
.Title(@Html.GetResourceValue("DashboardWidget.TaskTracking", "AI_UI_Label_ActionItemSite")
.ToHtmlString())
.Width(95)
.HtmlAttributes(new { @class = "gridRowLeftAligned" ,style = "color:black;" })
.HeaderHtmlAttributes(new { @class = "gridHeaderRow", style = "border:none;font-family:Arial;text-align:left;font-size: 12px; " })
.Filterable(false)
.Sortable(true);
columns.Bound(o => o.AssignedToName)
.Title(@Html.GetResourceValue("DashboardWidget.TaskTracking", "AI_UI_Label_ActionItemAssignedto")
.ToHtmlString())
.Width(85)
.HtmlAttributes(new { @class = "gridRowLeftAligned", style = "color:black;" })
.HeaderHtmlAttributes(new { @class = "gridHeaderRow", style = "border:none; font-family:Arial;text-align:left;font-size: 12px; " })
.Filterable(false)
.Sortable(true);
})
.NoRecords(@<text>Loading...</text>)
.DataSource(dataSource => dataSource.Ajax()
.Read(read => read.Action("GrdActionListAjaxBindingKendo", "ActionItem", new { filterKey = (string)ViewData["filterKey"] }))
.Model(model => model.Id(site => site.StudyId))
.PageSize((int)ViewData["pageSize"])
.Total((int)ViewData["totalRecords"])
.ServerOperation(true)
)
.EnableCustomBinding(true)
.Events(events=>events.DataBound("Tasks_OnDataBound"))
.Sortable()
.Scrollable()
.HtmlAttributes(new { style = "font-size:10px; font-weight:bold; font-family:Arial; width:100%;" })
.Pageable(page => page.Enabled(true).PageSizes(new Int32[] { 20, 30, 50, 100 }))
.Render();
Here datais binding properly only for the first time. But based on Total records grid has to display paging info. It is not doing that.
Could you help me.

Hi there,
I'm having difficulty in finding information on Binding a TabStrip to a datasource similar to the other controls and the JQuery version. Can you give me a practical example of binding it to a List<T>?
I am sure you are also still busy updating the documentation. Our architect has very colorful ways of creating his rest endpoints. Things are getting a bit sketchy when it comes to https://docs.telerik.com/aspnet-mvc/api//Kendo.Mvc.UI.Fluent/DataSourceBuilder#webapi .
Thanks for your help.
