Hey everybody!
There must be something simple that I am missing.
I currently have a template set up to render through renderMessage() which runs for every message on initialization.
Loosely based on this. Thank you Martin for this one.
https://www.telerik.com/forums/set-date-on-rendermessage-in-kendochat
The issue is that when I hit the send button and it goes into the post() method, this template no longer applies and it seems to reverts back to default.
How do I wire up my template to be used by default on send button click?
Best,
Jeff
This example not works as expected:
https://dojo.telerik.com/ESAQEsip/2
It should only select: Red and Green.
Isn't it?
It's the same if I write the value of the input field by hand: value="Red"
Docs:
https://docs.telerik.com/kendo-ui/framework/mvvm/bindings/checked#binding-lists-of-checkboxes-to-arrays
Many thanks
Wondering if someone can point out how to use CSP compatible templates with KendoNotifications.
Here is kendo's demo https://demos.telerik.com/kendo-ui/notification/templates.
I've added a content-policy without 'unsafe-eval' included. https://dojo.telerik.com/urImEZAk
Is there a way to convert these templates to be CSP compatible while keeping them in the script statement instead of having the html inside the kendoNotification initialize? The kendo documentation doesn't have many examples. https://docs.telerik.com/kendo-ui/framework/templates/get-started-csp-templates
This works, but would be nice to be able to separate the templates. https://dojo.telerik.com/urImEZAk/4
Thanks.
I'm using template binding to display a list of users. For each user, we have a yes/no radio button and a drop down. The options available in the drop down are dependent on the radio button. If the user picks "yes" in the radio, we give them 4 options in the drop down, if they select no, we give them 2 options.
I created a view model that contains an array of users and for each user I have an array of the available options for the drop down.
ex. viewModel= [{UserId: 1, RBValue: true, DropDownId: 3, DropDownOpts: [1,2,3,4]}, {UserId: 2, RBValue: false, DropDownId:1, DropDownOpts: [1,2]};
And then in my template I have a select as such:
<select source: DropDownOpts, value: DropDownId"></select
When the radio is updated, I modify the DropDOwnOpts for that item.
When the page loads, it works fine. The appropriate options appear in the dropdown list, but when I modify the DropDownOpts in the viewmodel, I can see the update in the console, but the options do not change.
Am I missing something obvious here? Or is this not possible (I'm sure I can do it via js, but would rather not).
Thanks for any help.
The URL that opens when you visit https://demos.telerik.com/kendo-ui/ > Hybrid UI > Launch Demos fails to load with the following exception in the console:
kendo.all.js:318535 Uncaught TypeError: n.headerTemplate is not a function
at Object.<anonymous> (kendo.all.js:318535:21)
at Object.render (kendo.all.js:318535:21)
at init.replaceGrouped (kendo.all.js:318535:21)
at init.refresh (kendo.all.js:318535:21)
at init._refreshHandler (kendo.all.js:318535:21)
at init.trigger (kendo.all.js:318535:21)
at init._process (kendo.all.js:318535:21)
at init.success (kendo.all.js:318535:21)
at success (kendo.all.js:318535:21)
at n.success (kendo.all.js:318535:21)
Does the Hybrid UI work for version 6.2.0?
P.S. none of the tags are relevant but it is a required field to submit a new thread so I just picked "templates" since the console error has the keyword template in it. Feel free to modify it.
My requirement is to create a diagram which is using different widgets to child and parent nodes. Is there a way to use two or more different custom templates for parent and its child nodes. Please see the image below that is something I want to create
Hello,
I'm trying to implement a tooltip that shows how many and what kind of events the resource has for the day when hovering mouse cursor over resource. I was able to do this in day/week/month views by using a custom group header template but I'm having a hard time trying to implement it in agenda view because I'm not able to make a custom template for resource group header, only event date, event time and event custom templates are available as far as I'm aware. Basically what I need is the ability, when hovering over a resource, to know what resource and what date it is to get the relevant information.
Any help is greatly appreciated! Thank you!
Hi
On Kendo Grids we use the following template on a column to convert the string to a href link:
(e.g. workItemLink = <a href="/link/to/a/page.aspx?Key=ABC">ABC</a>
columns: [
{
field: "workItemLink",
template: "#=workItemLink#",
title: "Work Item Ref",
width: "110px"
}
]
This doesn't seem to work on kendoGantt columns:
columns: [
{
field: "workItemLink",
template: "#=workItemLink#",
title: "Link"
}]
Are templates not supported in gantt charts? Is there another way to add a link the column part of the gantt?
Thanks
Ben
would like to check if it is possible to style the upload control to as follows
when no file selected
after file selected
Hello
I would like to use jQuery ListView to display products for an eshop solution.
Is it possible to nest a jQuery Rating Widget inside the ListView template and set the value when binding the data to the ListView?
I use ASP.Net Core with RazorPages.
Thank u for ur support!