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.
Can I have more than one footer in one Grid. Currently I use ClientFooterTemplate to add one footer for sum of the columns. I would like to add one more footer for average of the columns. Is that possible?
Thanks,
Sha
@(Html.Kendo().DropDownList()
.Name("ddlAccounts")
.HtmlAttributes(new { style = "width:300px" })
.DataValueField("Value")
.DataTextField("Text")
.OptionLabel("Select an Account...")
.Events(e => e.Change("changeAccount"))
)
// code from the ajax call that sets the datasource for the list
var
ddlAccounts = $(
"#ddlAccounts"
).data(
"kendoDropDownList"
);
var
dataSource =
new
kendo.data.DataSource({ data: dataReturned.Data });
ddlAccounts.setDataSource(dataSource);
@(Html.Kendo().Window()
.Name("window")
.Title("About Josef Hoffmann")
.Actions(actions => actions
.Custom("custom")
.Minimize()
.Maximize()
.Close()
)
.Content(@<
text
>
<
div
class
=
"armchair"
>
<
img
src
=
"@Url.Content("
~/Content/web/window/kubus-armchair.png")"
alt
=
"Josef Hoffmann - Kubus Armchair"
/>
Josef Hoffmann - Kubus Armchair
</
div
>
<
p
>
Josef Hoffmann studied architecture at the Academy of Fine Arts in Vienna,
Austria, under Art Nouveau architect Otto Wagner, whose theories of functional,
modern architecture profoundly influenced his works, and in 1896 he joined his office.
</
p
>
<
p
>
In 1898, he established his own practice in Vienna. In 1897, inspired by Mackintosh
and the Glasgow School, he was one of the founding members with Gustav Klimt, of an
association of revolutionary artists and architects, the Vienna Secession.
</
p
>
<
p
>
In 1903, he founded with architects Koloman Moser and Joseph Maria Olbrich, the Wiener
Werkstätte for decorative arts.
</
p
>
<
p
>
They aspired to the renaissance of the arts and crafts and to bring more abstract and
purer forms to the designs of buildings and furniture, glass and metalwork, following
the concept of total work of art. Hoffman's works combined functionality and simplicity
of craft production with refined and innovative ornamental details and geometric
elements. He is an important precursor of the Modern Movement and Art Deco.
</
p
>
<
p
>
Source:
<
a
href
=
"http://www.senses-artnouveau.com/biography.php?artist=hof"
title
=
"About Josef Hoffmann"
>http://www.senses-artnouveau.com/<;/
a
>
</
p
>
</
text
>)
.Draggable()
.Resizable()
.Visible(false)
.Width(500)
)
<
span
id
=
"undo"
class
=
"k-button"
>Click to open the window</
span
>
<
script
>
$(document).ready(function() {
var dialog = $("#window");
$("#undo").bind("click", function() {
dialog.data("kendoWindow").open();
});
dialog.data("kendoWindow").wrapper.find(".k-custom").click(function(e){
alert("Custom action button clicked");
e.preventDefault();
});
});
</
script
>
<
style
scoped>
#example {
min-height:500px;
}
.armchair {
float: left;
margin: 20px 30px;
text-align: center;
}
.armchair img {
display: block;
margin-bottom: 10px;
}
</
style
>