or
@(Html.Kendo().DropDownListFor(m => m.Page.PageSource).DataTextField("Text").DataValueField("Value").BindTo(Model.PageSourceList).Value(Model.Page.PageSource).Enable(!Model.Page.IsSystem).HtmlAttributes(new { id = "source" }).Events(e=>e.Change(@<text>function(e) {alert(e.item);}</text>)))
and I get "undefined" when I change the item in the select list.
2) Is there a way to have this event fire initally when the page loads?
Thank you,
David A
It's a bug that I also reproduced on your site
First enter this date in the date picker: August 31, 2012
- With the date picker calendar, click on header to display the 12 month
- Select November
The month that appears is December's
The problem is, if the date display at first is a 31 and the month you select have only 30 day, he display the next month.
{field:"Count", title:"Settings", filterable: false, width: 100,
template:'<a href="\\#" onlick="editSettings();">#=Count#</a>' seriesDefaults: {
type: "bar",
stack: true,
labels: {
visible: true,
position: "insideBase",
format: "c0"
}
},
series: [{
field: "Amount",
gap: 0.3
}],
seriesDefaults: {
type: "bar",
stack: true,
labels: {
visible: true,
position: "insideBase",
format: "c0"
},
gap: 0.3
},
series: [{
field: "Amount"
}],
$("#LineOfBusiness").kendoComboBox({ dataTextField: "LineOfBusiness", dataValueField: "LineOfBusiness", dataSource: { type: "json", transport: { read: "/ajax/lobs.php" }, serverFiltering: true, schema: { data: "data", total: "total" } }, filter: "contains", suggest: true, index: 3});$("#ProjectName").kendoComboBox({ cascadeFrom: "LineOfBusiness", autoBind: false, dataTextField: "ProjectName", dataValueField: "ProjectName", dataSource: { type: "json", transport: { read: "/ajax/projects.php" }, serverFiltering: true, schema: { data: "data", total: "total" } }, filter: "contains", suggest: true, index: 3}).data("kendoComboBox");$("#HRLevel").kendoComboBox({ cascadeFrom: "ProjectName", autoBind: false, dataTextField: "HRLevel", dataValueField: "HRLevel", dataSource: { type: "json", transport: { read: "/ajax/hrlevels.php" }, serverFiltering: true, schema: { data: "data", total: "total" } }, filter: "contains", suggest: true, index: 3}).data("kendoComboBox");$("#Manager").kendoComboBox({ cascadeFrom: "HRLevel", autoBind: false, dataTextField: "ManagerName", dataValueField: "ManagerName", dataSource: { type: "json", transport: { read: "/ajax/managers.php" }, serverFiltering: true, schema: { data: "data", total: "total" } }, filter: "contains", suggest: true, index: 3}).data("kendoComboBox");var lob = $("#LineOfBusiness").data("kendoComboBox");var projectname = $("#ProjectName").data("kendoComboBox");var hrlevel = $("#HRLevel").data("kendoComboBox");var manager = $("#Manager").data("kendoComboBox");