or
//get windows size
if (document.body && document.body.offsetWidth) {
windowsWidth = document.body.offsetWidth;
windowsHeight = document.body.offsetHeight;
}
if (document.compatMode=='CSS1Compat' &&
document.documentElement &&
document.documentElement.offsetWidth ) {
windowsWidth = document.documentElement.offsetWidth;
windowsHeight = document.documentElement.offsetHeight;
}
if (window.innerWidth && window.innerHeight) {
windowsWidth = window.innerWidth;
windowsHeight = window.innerHeight;
}
but on iPad I get these size: 980 x 1080 (not the real 768 x 1024).
Thanks Mauro
var schemaModel = kendo.data.Model.define({ id: "Id", fields: { Id: { editable: false, type: "number" }, Person: { FirstName: { editable: false, type: "string" }, MiddleName: { editable: true, type: "string" }, LastName: { editable: true, type: "string" } } }});
@Html.Kendo().AutoComplete()
.Name("from")
.DataTextField("Name")
.DataSource(source =>
source.Read(read =>
read.Action("Get", "Addresses")
).ServerFiltering(true))
I get:telerik hierarchical grid row cell onmouseover tooltip values show in asp.net mvc3 telerik grid.
if i have first row have value1 this is the parent of 2 childs now i need to show tooltip ,if i mouseover the value1 tooltip will shows the child two values same like 3 levels.
Please help me anybody on this
Advanced thank you.
Regards,
Narasimha
<% Using Html.BeginForm()%> <div id="legent"> </div> <div id="numbers" disabled="disabled" > </div> <input type="submit" value="choose" name="r1"/> <%end using %> <script> $(document).ready(function () { $("#legent").kendoDropDownList({ optionLabel: "Legent...", dataTextField: "Name", dataValueField: "Id", dataSource: { transport: { read: { type: "GET", contentType: "application/json; charset=utf-8", url: "http://jason.platform4telecom.com/JsonProfiling/enableme/test%5Eoneoverview%5Ecom/abc/xyz", jsonpCallbackString: "mycallback", dataType: "jsonp" } }, } }); var numbers = $("#numbers").kendoDropDownList({ autoBind: false, cascadeFrom: "legent", optionLabel: "Select product...", dataTextField: "Identifier", dataValueField: "Custnr", dataSource: { transport: { read: { type: "GET", contentType: "application/json; charset=utf-8", url: "http://jason.platform4telecom.com/JsonProfiling/FindNumbers/test%5Eoneoverview%5Ecom/abc/xyz", jsonpCallbackString: "mycallback", dataType: "jsonp" } } } }).data("kendoDropDownList"); }); </script> I follow exactly the sample on the site; nevertheless it is not working. I have following questions:- where is the filtering taking place?
<script src="/Content/kendo_scripts/console.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="http://cdn.kendostatic.com/2012.1.322/js/kendo.all.min.js"></script> <link href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.default.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.mobile.all.min.css" rel="stylesheet" />