How to disable HTML-like text formatting for Scheduler?

1 Answer 69 Views
Scheduler and Reminder
Lily
Top achievements
Rank 1
Lily asked on 09 Jul 2021, 06:51 PM

I am trying to disable HTML-like text formatting for appointments in a Scheduler that I have, but so far nothing is working. I have tried setting the DisableHTMLRendering property to true for myScheduler.ViewElement, myScheduler.SchedulerElement and have even tried it in the CellFormatting event handler where I set the property for mySchedulerCellEventArgs.CellElement. I am getting the same results in my main project as well as in a new test project that I created.

Thanks - Logan

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Jul 2021, 12:54 PM
Hello, Logan,

In order to disable the HTML-like text rendering for the appointment elements, it is necessary to handle the AppointmentFormatting event: 
        private void radScheduler1_AppointmentFormatting(object sender, SchedulerAppointmentEventArgs e)
        {
            e.AppointmentElement.UseHtml = false;
        }

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Scheduler and Reminder
Asked by
Lily
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or