MVC Sceduler Button text

1 Answer 17 Views
Button Scheduler
Parvinder
Top achievements
Rank 1
Parvinder asked on 26 Nov 2021, 08:41 PM

Hi Sir, 

In the MVC scheduler, I want to change the text of the SAVE button to text when I am using the addEvent functionality. It is simply a create appointment template.

I am doing like this and it is not working-

$('.k-edit-buttons k-state-default k-button k-primary k-scheduler-update k-button-text').text("Confirm");

 

Could you please suggest to me how I change the text of that button?

For your reference, I am attaching the screenshot so that you will get to know where I want to change, and I will also put a screenshot of the coding.

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 30 Nov 2021, 09:29 AM

Hi Parvinder,

Try this jQuery code instead of the one you shared.

$('.k-edit-buttons.k-state-default > .k-button.k-primary.k-scheduler-update > .k-button-text').text("Confirm");

Here is a Dojo example demonstrating the usage of the above snippet. 

I hope the suggested code will resolve the issue on your end.

Regards,
Petar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Button Scheduler
Asked by
Parvinder
Top achievements
Rank 1
Answers by
Petar
Telerik team
Share this question
or