I'm having some trouble getting my nested listview to sort properly(child listview). I want to be able to sort each listview individually.
<div class="mainsortable">
@(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Product>()
.Name("listView")
.TagName("div")
.ClientTemplateId("template")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("ProductGrid_Read", "ListView"));
dataSource.PageSize(21);
})
.Pageable()
)
@(Html.Kendo().Sortable()
.For("#listView")
.Filter(">div.product")
.Cursor("move")
.PlaceholderHandler("placeholder")
.HintHandler("hint")
//.Events(events => events.Change("onChange"))
)
</div>
<script type="text/x-kendo-tmpl" id="template">
<div class="product">
<div class="panel panel-default">
<div class="panel-heading">#=ProductID# #:ProductName#</div>
<div class="panel-body">
<div class="partialsortable">
@(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Order>()
.Name("OrderlistView_#=ProductID#")
.TagName("div")
.ClientTemplateId("ordertemplate")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("Order_Read", "ListView", new { ProductID = "#=ProductID#" }));
dataSource.PageSize(21);
})
//.Pageable()
.ToClientTemplate()
)
@(Html.Kendo().Sortable()
.For("#OrderlistView_#=ProductID#")
.Filter(">div.order")
.Cursor("move")
.PlaceholderHandler("placeholder")
.HintHandler("hint")
.ToClientTemplate()
)
</div>
</div>
</div>
</div>
</script>
<script type="text/x-kendo-tmpl" id="ordertemplate">
<div class="order">
Unit Price : #:UnitPrice#<br />
Quantity : #:Quantity#<br />
Discount : #:Discount#
</div>
</script>
<script>
function placeholder(element) {
return element.clone().addClass("placeholder");
}
function hint(element) {
return element.clone().removeClass("k-state-selected");
}
</script>
.
bold sortable controller does not working
I'm having an issue where even in the simplest Kendo UI MVC 5 application I can not see the results of Kendo widgets. I tried using the simple datapicker widget and I don't see the icon to pick the date. And with this autocomplete widget. When uploaded, I don't see a text box to type into.
@using Kendo.Mvc.UI
@{
ViewBag.Title = "HomePage";
}
@{
var countries = new String[] {
"America",
"Ansonia",
"Latvia",
"Italy",
"Lithuania"};
}
<br/>
<br />
<br />
<br />
<div>
@{Html.Kendo().AutoComplete()
.Name("myAutoCompletion")
.Placeholder("Country")
.BindTo(@countries);
}
</div>

Hello,
In my application (Dynamics 365), I added many Kendo Grid (using TypeScript and C# WCF as Backend). I'd like to implement a general dynamic functionnality of server filtering (because I use paging on read request, so it must be filtered on server side).
Firstly, I'd like to know how to implement exactly a server filtering of data source. In my backend function, I have the DataSourceRequest parameter, I added serverFiltering:true to my DataSource definition in TS. But I think that I miss something here, particularly the filter parameters on the data source (JSON format right?). Something like this:
{ "take":10, "skip":0, "page":1, "pageSize":10, "filter":{ "filters":[ { "field":"Column1", "operator":"eq", "value":"val1" }, { "field":"Column1", "operator":"eq", "value":"val2" }, { "logic":"or", "filters":[ { "field":"Column2", "operator":"eq", "value":5 }, { "field":"Column2", "operator":"eq", "value":1 } ] } ], "logic":"and" }, "group":[ ]}
How it can be done?Should I check if filtering is applied every column of my grid and what is the filter? And I guess that once the filter passed, I will be able to read it on the parameter passed to the backend function (request.Filters).
I'm newbie on Kendo, so I'll appreciate a detailed answer with full example if possible.
Thank you.
Moshe.
Hi,
I have a problem in dropdownlist angularjs
how to set dropdownlist ng-model after get ajax data
Sample my codes: http://dojo.telerik.com/@muratoner/icoBuB

Hello everyone,
the wanted behavior is that I want to sort 3 columns with multi sort functionality of the grid, but the problem is that two of my columns are build from objects and the multi sort is not working over them.
This is the example https://jsfiddle.net/x3Lqn2h3/
So, try first to sort over "age" descending (it works) after that try to sort over "name" (it works) and finally sort over "address" (it does not work). When you click over address the values "Pernik" and "Silistra" should swap their places but they don't.
Thank you for your help in advance!
Hello,
We have a problem with Kendo UI charts in Internet Explorer 11 ( may be problem there is in another version IE too, we used only IE 11 to check it). It is memory leak. When we change dataSource (setDataSource method) or when we do refresh / redraw, memory is not released.
Our datasource is large (10-15k points) and we need to refresh data every 10 seconds. It means that after 2 hours IE has size 1gb memory and allocated memory continues to grow.
You can see this leak at your tutorial page
http://demos.telerik.com/kendo-ui/scatter-charts/local-data-binding . Just Increase datasource to one thousand items and try to set data with setDataSource method at least 10 times. Every call setDataSource will increase memory to 3-5 mb.
Are there another way to update data in chart without this problem? Can you help us in this trouble?
https://dojo.telerik.com/EHiYU
In the datasource, the 4th date plot point is October 21, with a Revenue of 64, however when you run it the 4th plot point on the chart appears as October 18, with a Revenue of 64.
What's going on?