or
Fires when the drop-down list has received data from the data source.
$("#dropdownlist").kendoDropDownList({
dataBound: function(e) {
// handle event
}
});
// get a reference to the dropdown list
var dropdownlist = $("#dropdownlist").data("kendoDropDownList");
// bind to the close event
dropdownlist.bind("dataBound", function(e) {
// handle event
});
var kendoWindowFactory = new function () { var __modalKendoWindow; var __functionCallback; this.createKendoWindow = createKendoWindow; this.createModalKendoWindow = createModalKendoWindow; this.modalReturn = modalReturn; function createKendoWindow(element) { var frameId = "___kendoWindow_" + element.id; var LINK = element.href; var TITLE = $(element).attr("data-title"); var WIDTH = $(element).attr("data-width"); var HEIGHT = $(element).attr("data-height"); if (!(parseFloat(WIDTH) > 0)) { WIDTH = "50%"; } if (!(parseFloat(HEIGHT) > 0)) { HEIGHT = "50%"; } var kendoWindow = document.getElementById(frameId); if (kendoWindow) { $(kendoWindow).data("kendoWindow").toFront(); } else { kendoWindow = $("<div />") .attr({ id: frameId }) .appendTo("body"); $(kendoWindow).kendoWindow({ title: TITLE, modal: false, width: WIDTH, height: HEIGHT, content: LINK, visible: false, deactivate: function () { this.destroy(); }, }).data("kendoWindow").center().open(); $(kendoWindow).css({ overflow: "none" }); } return false; } function createModalKendoWindow(element, functionCallback) { var frameId = "___kendoWindowModal_"; __modalKendoWindow = null; __functionCallback = functionCallback; var LINK = element.href; var TITLE = $(element).attr("data-title"); var WIDTH = $(element).attr("data-width"); var HEIGHT = $(element).attr("data-height"); if (!(parseFloat(WIDTH) > 0)) { WIDTH = "770px"; } if (!(parseFloat(HEIGHT) > 0)) { HEIGHT = "470px"; } var kendoWindow = document.getElementById(frameId); if (!kendoWindow) { kendoWindow = $("<div>").attr({ id: frameId }).appendTo("body"); } __modalKendoWindow = $(kendoWindow).kendoWindow({ title: TITLE, modal: true, width: WIDTH, height: HEIGHT, visible: false, deactivate: function () { this.destroy(); }, }).data("kendoWindow").center().refresh(LINK).open(); $(kendoWindow).css({ overflow: "none" }); return false; } function modalReturn(value) { __modalKendoWindow.close(); if (value) { if (__functionCallback) { __functionCallback(value); } } }}<script> $(function () { $('#tabMenu a').click(function (e) { e.preventDefault(); kendoWindowFactory.createKendoWindow(this); }); }); $(document).ready(function () { $("#tabMenu").kendoTabStrip(); }); </script><script type="text/javascript"> function returnValue(value) { document.getElementById("<%= txtCodigo.ClientID.ToString() %>").value = value; __doPostBack("Municipio.aspx", "txtCodigo_TextChanged"); } $(function () { $("#<%= btnConsultar.ClientID.ToString() %>").click(function (e) { e.preventDefault(); window.parent.kendoWindowFactory.createModalKendoWindow(this, returnValue); }); });</script><script type="text/javascript"> $(function () { $("#grvMunicipio").kendoGrid({ columns: [ { field: "Codigo", title: "Código" }, { field: "Descricao", title: "MunicÃpio" }, { field: "Uf", title: "Estado" } ], dataSource: { pageSize: 15 }, sortable: true, selectable: true, pageable: { refresh: true, pageSizes: true } }); $('#grvMunicipio').dblclick(function () { var Grid = $("#grvMunicipio").data("kendoGrid") Grid.select().each(function () { var dataItem = Grid.dataItem($(this)); RetornaValor(dataItem.Codigo); }); }); });</script>We are very interesting about the telerik products we have gone through the many kendo examples which provided in telerik official website as well as in other forums but we just get the simple staff.
We are planning to start a new web project with the MVVM frame work with Kendo . We are unable to find the complete real example for Kendo UI for web based systems as you have developed it for telerik Ajax(eg : sales Dash Board).
If it is their sample code please be kind enough to send us
We are very much interesting to get you feed back on this
BS
Development Team