I have a chart, with a click event which opens a window with a grid in it. This works fine, but most of the time, the chart tooltip stays visible, on top of the window and grid.
How can I prevent this, either by closing the tooltip before the window opens, or have the window show above the tooltip?
Thanks
I've found examples how to use the kendo dropdown list as a editor in a column. Can you please provide me an example of how to use a MultiColumnComboBox as a column editor and how you would populate the MultiColumnComboBox in such a use case?
Thank you.

Hi,
how to find the selected cell header column name from the below example.
https://demos.telerik.com/aspnet-mvc/grid/multicolumnheaders
Hi ,
i want to sort values in multi checkbox filter dropdown.
here am attaching image and project code . pls find it.
https://drive.google.com/file/d/1BigmLzF_12b2sFzANGrGWCWaA5j4gcBT/view?usp=sharing
//register custom validation rules(function ($, kendo) { $.extend(true, kendo.ui.validator, { rules: { // custom rules notesvalidation: function (input, params) { if (input.is("[name='Notes']") && input.val() != "") { input.attr("data-notesvalidation-msg", "Notes error"); return /^[A-Z]/.test(input.val()); } return true; }, startdatevalidation: function (input, params) { if (input.is("[name='StartDate']") && input.val() != "") { input.attr("data-startdatevalidation-msg", "Start Date needs to be before End Date"); var row = input.closest("tr"); var grid = $('#Grid1').data().kendoGrid; var dataItem = grid.dataItem(row); if (dataItem.EndDate == "") return true; var result = (new Date(Date.parse(input.val())) <= dataItem.EndDate) return result; } return true; }, enddatevalidation: function (input, params) { if (input.is("[name='EndDate']") && input.val() != "") { input.attr("data-enddatevalidation-msg", "End Date needs to be after Start Date"); var row = input.closest("tr"); var grid = $('#Grid1').data().kendoGrid; var dataItem = grid.dataItem(row); if (dataItem.StartDate == "") return true; var result = (new Date(Date.parse(input.val())) >= dataItem.StartDate) return result; } return true; } }, messages: { //custom rules messages productnamevalidation: function (input) { // return the message text return input.attr("data-val-notesvalidation"); }, startdatevalidation: function (input) { // return the message text return input.attr("data-val-startdatevalidation"); }, enddatevalidation: function (input) { return input.attr("data-val-enddatevalidation"); } } });})(jQuery, kendo);I have a Parent Child relationship that is using a Parent Grid and Tab strip with child grids. I can get the data to show up but my custom buttons to add / edit and delete data is not working or showing up
TIA
Error
TypeError: Cannot read property 'dataItem' of undefined
at AddEditCustomerShip (https://localhost:44368/Customer:238:63)
at HTMLAnchorElement.onclick (https://localhost:44368/Customer:1:1)
<script id="template" type="text/kendo-tmpl">
@(Html.Kendo().TabStrip()
.Name("tabStrip_#=CustomerID#")
.SelectedIndex(0)
.Animation(animation => animation.Open(open => open.Fade(FadeDirection.In)))
.Items(items =>
{
items.Add().Text("Contacts").Content(@<text>
@(Html.Kendo().Grid<I2MS.Models.CustomerContactViewModel>
()
.Name("grid_contact#=CustomerID#")
.Columns(columns =>
{
columns.Bound(o => o.CustomerContactID).Hidden();
columns.Bound(o => o.FirstName).Width(40);
columns.Bound(o => o.LastName).Width(40);
columns.Bound(o => o.Phone).Width(40);
columns.Bound(o => o.Email).Width(40);
columns.Bound(o => o.Address).Width(40);
//columns.Bound(o => o.Address2).Width(200);
columns.Bound(e => e.City).Width(40);
columns.Bound(e => e.State).Width(40);
columns.Bound(e => e.PostalCode).Width(40);
columns.Template("<a title=\"Edit\" onclick=AddEditCustomerContact(event,#=CustomerID#);><img src='images/edit.png' alt='edit' /></a> <a role='button' title='Delete' onclick='onDeleteCustomerContact(event,#=CustomerID#)'><img src='images/delete.png' alt='delete' /></a>").Width(30);
})
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read.Action("HierarchyBinding_CustomerContacts", "CustomerContact", new { customerID = "#=CustomerID#" }))
.Model(model => { model.Id(i => i.CustomerContactID); })
)
.ToolBar(toolbar =>
{
toolbar.Custom().Name("<span class='k-icon k-i-add'></span>Add New Customer Contact").HtmlAttributes(new { style = "float:right", id = "btnAddNewCustomerContact", onclick = "AddEditCustomerContact(null,#=CustomerID#)" });
//toolbar.Create();
})
.Pageable(p => { p.PageSizes(new[] { 5, 10, 20, 50, 100 }).Responsive(false); })
.Sortable()
.ToClientTemplate()
)
</text>
);
items.Add().Text("Shipping Addresses").Content(@<text>
@(Html.Kendo().Grid<I2MS.Models.CustomerShipViewModel>()
.Name("grid_ship#=CustomerID#")
.Columns(columns =>
{
columns.Bound(o => o.CustomerShipID).Hidden();
columns.Bound(o => o.Name).Width(40);
columns.Bound(o => o.PhoneNumber).Width(40);
columns.Bound(o => o.Address).Width(40);
//columns.Bound(o => o.Address2).Width(200);
columns.Bound(e => e.City).Width(40);
columns.Bound(e => e.State).Width(40);
columns.Bound(e => e.PostalCode).Width(40);
columns.Template("<a title=\"Edit\" onclick=AddEditCustomerShip(event,#=CustomerID#);><img src='images/edit.png' alt='edit' /></a> <a role='button' title='Delete' onclick='onDeleteCustomerShip(event,#=CustomerID#)'><img src='images/delete.png' alt='delete' /></a>").Width(30);
})
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read.Action("HierarchyBinding_CustomerShips", "CustomerShips", new { customerID = "#=CustomerID#" }))
.Model(model => { model.Id(i => i.CustomerShipID); })
)
.ToolBar(toolbar =>
{
toolbar.Custom().Name("<span class='k-icon k-i-add'></span>Add New Customer Ship").HtmlAttributes(new { style = "float:right", id = "btnAddNewCustomerShip", onclick = "AddEditCustomerShip(null,#=CustomerID#)" });
})
.Pageable(p => { p.PageSizes(new[] { 5, 10, 20, 50, 100 }).Responsive(false); })
.Sortable()
.ToClientTemplate()
)
</text>
);
})
.ToClientTemplate())
</script>
I tried to use fa icons in the drawer but it did not seem to resize / pad (in mini mode) properly. So some of the text was visible.
What am I missing?
Regards
Erwin
I have a kendo grid in an asp.net MVC application to fill a catalog. There are 2 columns on the grid: ItemName (text) and IsActive (checkbox).
But every time I add or edit a new row, if I write something in the text column and then hover over any checkbox in the grid the text in the cell that I was working disappears.
I'm using InCell grid edit mode. To set the checkbox column I used a ClientTemplate:
columns.Bound(x => x.IsActive).Width(80).ClientTemplate("<input type='checkbox' class='GridCheckBox' name='IsActive' #=IsActive? checked='checked' : '' #/> ");
Is there a way to solve this?
Hi,
i have view with few butons. when i click button am displaying a view in pop up using kendo window.
here i have a form with 2 fields. after entering form data and submit ,in controller action i want to check whether those 2 fileds values are exists.
if exists i want to show error message with values are already exists, i not exists in database then i want to insert those values.
below is my code
@(Html.Kendo().Window()
.Name("AddProjectWindow")
.Modal(true)
.Width(750)
.Height(500)
.Draggable()
.Resizable()
.Title("Add New Project")
.Actions(actions => actions.Close())
.LoadContentFrom("AddProject", "Home")
.Visible(false)
)
this is my partial popup view
@model Enhancements.Models.Project
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<div>
@{
using (Html.BeginForm("SubmitAddNewProject", "Home", FormMethod.Post, new { id = "basicUsage" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<table>
<tr>
<td>Enter Project Code <label style="color:red">*</label></td>
<td> @Html.TextBoxFor(x => x.ProjCode)</td>
<td>
@Html.ValidationMessageFor(m => m.ProjCode, "", new { @class = "text-danger" })
</td>
</tr>
<tr>
<td>Enter Project Name <label style="color:red">*</label></td>
<td> @Html.TextBoxFor(x => x.ProjectName)</td>
<td>
@Html.ValidationMessageFor(m => m.ProjectName, "", new { @class = "text-danger" })
</td>
</tr>
</table>
<div id="message">
</div>
<button type="submit" value="Submit" id="btnValidateForm">Submit</button>
}
}
</div>
</body>
@Scripts.Render("~/bundles/jqueryval")
</html>
