ConvertInlineStylesToAttributes for .net 2.0 version of controls?

2 posts, 0 answers
  1. Addams England
    Addams England avatar
    2 posts
    Member since:
    Jul 2007

    Posted 25 May 2012 Link to this post

    We are still on an older version of the controls for .net 2.0 and cannot upgrade for another month or two.  We need to implement the filtering that ConvertInlineStylesToAttributes does now though.  Could you provide some javascript that would allow us to run this type of cleanup now? 
  2. Rumen
    Admin
    Rumen avatar
    14420 posts

    Posted 28 May 2012 Link to this post

    Hello,

    The ConvertInlineStylesToAttributes is a complex filter and it is not so easy to be implemented in an earlier builds.

    As being an owner of Developer License with subscription you can download the source code of Telerik.Web.UI.dll and implement your own custom content filter using as a base the code of the ConvertInlineStylesToAttributes filter. This filter is located in the \Editor\RadEditor\EditorFiltersManager.js. It also use the convertAttribute, convertBorderAttribute, convertCSSProperty and convertTypeAttribute functions the declarations of which are available in the \Editor\RadEditor\0EditorUtils.js file.

    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