How can we bind autocomplete's selected values to model so I can use those values on the server? The examples I have seen so far only selects the values on client side and diaplay them as tags. I want to populate the values into control using Ajax call, but after items are selelted i want selected values to be passed to model using model binding. How that can be done?
In my project, I use the fluent notation.
Situation:
A grid with filterable mode on "row" and with a detailtemplate, bound to a list of objects.
Problem:
In the head of the grid, there are 2 rows (column titles + filters). The filter row contains only 1 <th> element, instead of 2.
-------------------------------------------
| | [ControleId_Title] |
-------------------------------------------
| [ControleId_Filter] | --> ???
-------------------------------------------
| [k-hierarchy-cell] | 11 |
| [k-hierarchy-cell] | 12 |
-------------------------------------------
In the JS variant of the grid, it works (see http://jsfiddle.net/Sbb5Z/1715/), but in the fluent notation, it doesn't work.
My attachment contains a standard VS 2013 MVC Solution, with the Kendo scripts added. You just have to download the packages AND paste your Kendo.Mvc.dll in the bin folder of the project.
Hi,
I am using Multi select filter in the grid. The requirement for me is to sort the items in the filter list by alphabetical order. Can some one tell me how can i sort that list
I am using this following code and it is working fine as expected, but i want to sort the list
columns.Bound(p => p.Name).Width(300).Filterable(x => x.Multi(true)).Lockable(false);
Hi
I am trying to add a custom connector to a rectangle in MVC, but am struggling top work out how to do it. This is the code I am using;
.ShapeDefaults(sd => sd.Connectors(o =>
{
o.Add().Name("top");
o.Add().Name("right");
o.Add().Name("bottom");
o.Add().Name("left");
o.Add().Name("auto");
o.Add().Name("bottomRight");
o.Add().Name("topRight");
o.Add().Name("bottomLeft");
o.Add().Name("topLeft");
o.Add().Name("topRightMiddle").Position("function(shape) { var p = shape.bounds().top(); return shape._transformPoint(new kendo.dataviz.diagram.Point(p.x + 15, p.y)); }");
})
When I run this, none of the connectors are added. When I run it without the 'topRightMiddle' connector, it works fine and all the named connectors are added. How should the 'Position' method parameter be constructed?
Thanks
Jared
Hi,
I'm missing some files and functions from the kendo.mvc.examples project you supply with kendo mvc:
examples.js
examples.min.js
console.min.js
there several more scripts that are missing.
is it ok?
thanks
I have a Parent/Child grid. For the rows selected I need to get the Parent and child rows data.
I don't see any examples. Can someone point me to one?
Thanks
Greg
We tried upgrading to the Q1 2015 SP1 release and noticed that when loading a Map control connecting to Bing Maps, the map layers show initially but are immediately replaced with blank images. We tested it on IE 10 and 11 and both seem to be affected. When running the Bing Map Layer demo, the map control appears to be behaving the same way too.
Hi Telerik Team,
We are facing an issue with the Kendo ComboBox Control on MVC5.
Is there any way to avoid/deactivate the AutoPostBack of the ComboBox when the user press the enter key? We've tried to bind by jQuery other functions on keypress and keydown events without luck.
Here is the code:
@(Html.Kendo().ComboBox()
.Name(
"cmbUsuarios"
)
.DataTextField(
"NombreUsuario"
)
.DataValueField(
"Id"
)
.Placeholder(
"Seleccione Usuarios..."
)
.Filter(FilterType.StartsWith)
.AutoBind(
false
)
.HtmlAttributes(
new
{ @
class
=
"form-control"
, @style =
"width: 100%"
})
.MinLength(2)
.DataSource(source =>
{
source.Read(read =>
{
read.Action(
"GetUsers"
,
"Perfil"
)
.Data(
"filterUsers"
).Type(HttpVerbs.Get);
})
.ServerFiltering(
true
);
}))
<script>
function
filterUsers() {
return
{
userFilter: $(
"#cmbUsuarios"
).data(
"kendoComboBox"
).text()
};
}
</script>
Version of Kendo.Mvc: 2015.1.318.545
Thanks!