Is it possible to get new lines or breaks to show up in the calendar appointments? I've got them showing in tooltips by using \r\n but it just shows up as a space in the calendar appointment item. <br> doesnt work either as that just shows up as plaintext in both the appointment and the tooltip.
2 Answers, 1 is accepted
0
Accepted
Peter
Telerik team
answered on 14 Mar 2008, 04:01 PM
Hello Adam,
Please, try wrapping the subject of the appointment in <pre> </pre> tags:
The way I do it is, I have added Literal control to the AppointmentTemplate and then adding whatever HTML controls I need to the Literal control. That way, I can even add <table> <div> etc to the appointment dynamically.
The approach I have used is to put PlaceHolder in the appointment template and then dynamically add ASP controls to the place holder with values. This helps in some advance scenarios like - when I want to put Tooltip only for the part of a text in the subject etc.