I am using the Scheduler and making a custom edit screen. I am following the example here.
Each scheduled event can have a category. These are selectable via dropdown. Consider the following portion of the template:
<div class="k-edit-label">
<label for="category">Category</label>
</div>
<div data-container-for="category" class="k-edit-field">
<!-- HERE IS WHERE THE DROPDOWN IS -->
</div>In the example linked, a simple <select> element is used. But I am looking to add a real Kendo dropdown, not a basic select. So I defined it as follows:
var categoryEditorDropdown = Html.Kendo().DropDownList()
.AutoBind(true)
.BindTo(categories)
.DataTextField(nameof(Category.Description))
.DataValueField(nameof(Category.Id))
.HeaderTemplate("Custom defined template which is why I need this over a select")
.OptionLabelTemplate("Custom defined template which is why I need this over a select")
.Name("category")
.ToClientTemplate();Back to my editor template, for the commented green line I tried both the following, and both gave template errors:
<div data-container-for="category" class="k-edit-field">
<!-- Both fail with a template error -->
@categoryEditorDropdown
@Html.Raw(categoryEditorDropdown)
</div>Next, I made a separate script:
<script id="editEventCategoryTemplate" type="text/x-kendo-template">
// Tried both of these and again both fail when editing the event
@categoryEditorDropdown
@Html.Raw(categoryEditorDropdown)
</script>And I updated the editor to try and use it:
<div data-container-for="category" class="k-edit-field">
#= kendo.render(kendo.template($("\\#editEventCategoryTemplate").html())) #
</div>For both tests here the page renders but then throws the same invalid template error when I try to edit an event.
How can I embed templates into each other. I need far more than category here. There are 6 templates in total needed for 6 different fields.
It seems that if you set a data-format (or other options like data-min, data-max) on a datepicker and call kendo.bind then the readonly status is lost. Is this the expected behavior, as it doesn't seem correct?
See example:
https://dojo.telerik.com/igORIMaX/2
Is it the intent the jQuery license (kendo-ui-license.js) be committed to source control so CI/CD build systems can access it?
Using Script License File | Download and Installation - Kendo UI for jQuery (telerik.com)
I am having a kendo autocomplete combo box, when typing out the keys i get the list of options. But it is not highlighting (focusing) the first option. when i try to hover with mouse it is focused. Adding the sample screenshots.
Kindly do the needful. Thanks in advance
It is working fine with the dropdown
But for the autocomplete
When i hover this with cursor it is working. This is our expectation when typing in the autocomplete.
I have a block of html that I want to move from one div to another div on the page using javascript. I am writing a function that will move this code block and will have no idea if, or how many, dropdown lists exist as it will be different every time. My problem is that when I do a .clone(true, true) with JQuery, the dropdownlist either stops opening or it opens with a width of 0 in the upper left corner of the screen. How do I fix this?
Task: Move everything from block1 to block2.
<div id="block1">
<p>Hi! I'm a paragraph.</p>
<select id="select1"></select>
The select was already initialized with JS and works fine.
</div>
<div id="block2">
</div>Hello,
I need use export excel With ProxyURL
i got error when I click on the button export to excel
thanks

I need to display a table for the autocomplete (like the multicombobox).
I have already done this on a previous version of telerik with the code:
.HeaderTemplate("<div class=\"k-grid-header\" style=\"padding-right: 17px;\">" +
"<div class=\"k-grid-header-wrap\">" +
"<table>" +
"<colgroup>" +
"<col>" +
"<col>" +
"<col>" +
"<col>" +
"</colgroup>" +
"<tbody>" +
"<tr>" +
"<th class=\"k-header\">P1</th>" +
"<th class=\"k-header\">P2</th>" +
"<th class=\"k-header\">P3</th>" +
"<th class=\"k-header\">P4</th>" +
"</tr>" +
"</tbody>" +
"</table>" +
"</div>" +
"</div>")
.Template("<span class=\"k-cell\">#: data.P1#</span>" +
"<span class=\"k-cell\">#: data.P2#</span>" +
"<span class=\"k-cell\">#: data.P3#</span>" +
"<span class=\"k-cell\">#: data.P4#</span>")

Grid :-
.Columns(columns =>
{
columns.Bound(x => x.Role).Title("<b>Project OBS Role</b>").Width("30%").Filterable(true).
HeaderHtmlAttributes(new { style="text-align:center;"}).HeaderHtmlAttributes(new { style = "text-align:center;vertical-align:middle;" });
columns.Bound(x => x.UserId).Title("<b>Approver</b>").Width("40%").EditorTemplateName("GridGroupPeoplePicker").
====> EditorViewData(new { SecurityGroup = "#=SecurityGroup#" }).Filterable(true).HeaderHtmlAttributes(new { style = "text-align:center;vertical- align:middle;" }).HtmlAttributes(new { style = "text-align:left;" });
columns.Bound(x => x.Delay).Title("<b>Delay<b>").Width("20%").Filterable(true).
HeaderHtmlAttributes(new { style = "text-align:center;vertical-align:middle;" }).HtmlAttributes(new { style = "text-align:left;" });
columns.Command(command => { command.Edit().Text(" ").CancelText(" ").UpdateText(" ");}).Width("10%").
HtmlAttributes(new { style = "text-align:center;" });
})
Editor Template :-
@model stringWe have need of a way to show an editor when user clicks on a plain HTML element. There will be more fields than visible when the div goes into edit mode. Same way we use a clientTemplate in our KendoGrids.
I picture,
If no examples exist, it would be nice to hear from moderators on why this couldn't be done. Or, better, how nicely it could work :-)
I've done something like this about 7 years ago and it worked well, but I no longer have access to that code-base.
Bob Graham

Hello,
I want the tooltip to remain open when trying to click on the content of tooltip. Below is my code.
---Grid
@(Html.Kendo().Grid<AgeInformation>()
.Name("AgeInformationGrid")
.Columns(columns =>
{
columns.Bound(p => p.FundAge).Title("Agency").ClientTemplate("#=FundAge.FedAgeDesc#").Sortable(false).Width(175).HeaderHtmlAttributes(new { @class = "FundAgeClass" });
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.InLine))
.Pageable()
.Sortable()
.Scrollable()
.HtmlAttributes(new { style = "height:500px;" })
.DataSource(dataSource => dataSource
.Ajax()
.AutoSync(false)
.Batch(false)
.PageSize(20)
.ServerOperation(false)
.Events(events => events.Error("errorHandler"))
.Events(events => events.RequestEnd("onAgeInformationRequestEnd"))
.Model(model => {
model.Id(p => p.AgeInformationId);
model.Field(p => p.AgeInformationId).Editable(false);
model.Field(p => p.FundAge).DefaultValue(new FedAgency());
})
.Create(update => update.Action("AddAgeInformation", "Coversheet").Type(HttpVerbs.Post))
.Read(read => read.Action("GetAgeInformation", "Coversheet").Type(HttpVerbs.Get))
.Update(update => update.Action("EditAgeInformation", "Coversheet").Type(HttpVerbs.Post))
.Destroy(update => update.Action("DeleteAgeInformation", "Coversheet").Type(HttpVerbs.Post))
)
//.Events(events => events.Edit("onAgeInformationEdit"))
)
function ToolTipsForAgency() {
$(".FundAgeClass").append(" <i class='far fa-question-circle'></i>");
$(".FundAgeClass").attr("data-html", "true");}
Any help is appreciated