search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

how to remove html tag when i export calendar in png image?

Asked by varsha
11 years ago.


When i am exporting calendar into png image it will display html tag in event description

for example: Event Name: test<br>

Start Time:10:AM<br>

please provide me solutions.



Comment posted by Dan Letecky
11 years ago.

You can do something like this in the BeforeEventRender handler:

if (DayPilotCalendar1.IsExport) {
  e.InnerHTML = e.InnerHTML.Replace("<br/>", "\r\n");

See also:

Comment posted by varsha
11 years ago.

Thank you verry much it is woking fine.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.