This is a migrated thread and some comments may be shown as answers.

System.Web.Security.AntiXss.AntiXssEncoder & RadDatePicker

4 Answers 102 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
İlter
Top achievements
Rank 1
İlter asked on 22 May 2013, 10:34 PM
I had a hard time figuring out DatePicker's MonthView CSS is broken when using AntiXssEncoder library in the project. It somehow prevents MonthView to render properly. Is there a way to fix MonthView in DatePicker when using with AntiXssEncoder? May be manually adding some css lines and fixind the view?

4 Answers, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 27 May 2013, 12:02 PM
Hi İlter,

Thank you for the question.

This is a known issue and it will be fixed for the next official release.

The problem is that AntiXSSEncoder replaces the white space between the css classes with symbol   and this breaks the styles.

Please excuse us for the inconvenience this might cause you.

Regards,
Venelin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
İlter
Top achievements
Rank 1
answered on 27 May 2013, 04:08 PM
Hi Venelin,

Thank you for the answer.

Can you tell me if this is going to be fixed with the new SP2 release? I am asking, because I need to know how to handle security if I won't be able to use AntiXss in my project and I have a deadline. If 2013 SP2 will work with AntiXss, I will continue with it.

Thanks in advance for your answer.


Regards.
0
Venelin
Telerik team
answered on 29 May 2013, 05:26 AM
Hi İlter,

The fix for the RadCalendar will be included in the next official release (Q2 2013 - in the middle of the June).

I hope this helps.

Regards,
Venelin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robert
Top achievements
Rank 1
answered on 06 Jun 2013, 08:38 PM
In the meantime, I've posted a solution that will work with any MVC control to fix this issue, and it should work with the RadDatePicker, although my example targets the fix for KendoUI.

Please let me know if you have any questions.

Robert McLaws
CTO and co-founder, AdvancedREI.com
Tags
Calendar
Asked by
İlter
Top achievements
Rank 1
Answers by
Venelin
Telerik team
İlter
Top achievements
Rank 1
Robert
Top achievements
Rank 1
Share this question
or