Encoded Characters in Data Prevent EventSelect Event Firing

Asked by Brena
10 years ago.

Hi I'm encoding user input with HttpUtility.HtmlEncode (so apostrophes become e.g. ’) and the encoded input is being saved to database.

When DayPilot calendar uses this data it renders fine, but clicking the event does not seem to raise the EventSelect event in code-behind. Events without any encoded special characters work, also works fine when unencoded special characters are in the data. It seems the ampersand is the issue - if that's removed things work fine.

Hope this info helps!

No reply yet.

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