ExportToRTF Crashes...

4 posts, 0 answers
  1. Ben
    Ben avatar
    56 posts
    Member since:
    Jan 2006

    Posted 21 Nov 2011 Link to this post

    I am trying to use the ExportToRTF() method and I get the following error:

    A critical error has occurred. The type or namespace name 'SecurityRulesAttribute' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)

    Any suggestions?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 21 Nov 2011 Link to this post

    Hello Ben,

    The following demo shows the RTF exporting functionality.
    Editor / Import Export to RTF.

    Thanks,
    Princy.
  3. Ben
    Ben avatar
    56 posts
    Member since:
    Jan 2006

    Posted 22 Nov 2011 Link to this post

    Princy,

    Thanks for the input, however I know that. I already saw this sample and used it as a reference for my own work.  However, the error still persists.
  4. Rumen
    Admin
    Rumen avatar
    14435 posts

    Posted 24 Nov 2011 Link to this post

    Hello Ben,

    I am not aware of this error but this forum thread which discusses this generic ASP.NET error could be helpful: Strange exception with .NET 4 - 'SecurityRulesAttribute' does not exist in the namespace 'System.Security'.

    If the problem still persists, please isolate it in a sample working project and send it for examination by opening a support ticket.

    Best regards,
    Rumen
    the Telerik team
    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
Back to Top