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!
Hi,
Is there's a way to implement ImageBrowser widget in the MVC edition?
It would be nice to have this widget outside the editor
Thanks
In my Kendo MVC grid, I have several calculated columns. But when I use aggregates function to get the sum of each column, only non-calculated columns work. The sum of calculated columns return as 0. Is there a workaround to solve this problem?
Thanks,
Sha
Hi,
I am have been evaluating the Kendo UI for ASP.NET MVC and I have noticed a date format issue with the Kendo UI Grid when it comes to UTC Format. I have not been able to resolve this so I am hoping someone here will have a solution to this problem.
Basically I have a created date which is currently stored in the database in UTC Format and when I retrieve this date and bind it to the Kendo UI Grid, the format is coming as
Tue Apr 21 2015 21:05:35 GMT-0400 (Eastern Daylight Time)
How can I display this date in the Eastern Daylight Time?
"April 21, 2015 5:05:35 PM"
Please let me know if more information is required.