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
13 years ago.

hello,

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.

Thanks,

Varsha

Comment posted by Dan Letecky
13 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
13 years ago.

Thank you verry much it is woking fine.

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