System.Web.Security.AntiXss.AntiXssEncoder & RadDatePicker

5 posts, 0 answers
  1. İlter
    İlter avatar
    19 posts
    Member since:
    Feb 2013

    Posted 22 May 2013 Link to this post

    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?
  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 27 May 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. İlter
    İlter avatar
    19 posts
    Member since:
    Feb 2013

    Posted 27 May 2013 Link to this post

    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.
  5. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 29 May 2013 Link to this post

    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.
  6. Robert
    Robert avatar
    38 posts
    Member since:
    Feb 2012

    Posted 06 Jun 2013 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017