HTML markup validation for Rad Editor

4 posts, 0 answers
  1. mahavir
    mahavir avatar
    2 posts
    Member since:
    May 2011

    Posted 16 May 2011 Link to this post

    Hi,

    We are using Teleric Rad Editor for contnet areas in SHarePoint 2007.
     
    While editing Rad Editpr HTML content, if the HTML markup is not properly formed, the editor doesnt give any messages for malformed HTML markup.
     
    We are planning to use a custom button there to validate the HTML and specify the errors if any. This button internally will call a web service or use some tool on the server, pass the HTML content to it and shows the errors/messages if any returned from the service/tool.

    Is there any add-on or something Telerik provides for Rad Editor for HTML markup validation?

    If not, can you please suggest us some tool/web service which we can use with Rad Editor? For some security reasons we do not want to use validator.w3c.org web service. Please suggest us some other web service or tool which suites rad editor more. Also it would be great help if you can tell us what steps we can follow to achieve this customization.

    Regards,
    Mahavir
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 17 May 2011 Link to this post

    Hello mahavir,

    Check the default demo of RadEditor for ASP.NET AJAX http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx. In it the editor has (w3c) XHTML Validator button (check the following screen shot http://screencast.com/t/ARIAotWGK). In order to add this tool review the following online help article: Add/Remove tools from the toolbar.

    Greetings,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>


  3. mahavir
    mahavir avatar
    2 posts
    Member since:
    May 2011

    Posted 17 May 2011 Link to this post

    Hi Stanimir,

    Thanks for the reply and the info.
     
    While this is a great tool, as i had mentioned in my initial post, for some security reasons we dont wnat to use W3C web service to validate the content. So while the user experience and user interface should be exactly similar to what it is in the demo but at the backend we need some local utility/tool avaialbe on the server (not a web srvice, as in that case it will be an external entity and we will have to pass data to it), which will validate the the content.

    Is there any free tool or codebase we can refer to create our own internal web service to validate the HTML markup? If its a tool, there need to be a posibility to send the editor content to that tool by presing that validate button on rad editor design pane, and the tool then should send back the results to rad editor. If its code base, it will help if the codebase is .NET compatible.

    Thanks in advance,
    Mahavir
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 18 May 2011 Link to this post



    Hi Mahavir,

    I can point you to resources where is explained how to add custom tools in RadEditor for MOSS:Add Custom Buttons, Add Custom DropDown, Add Custom Dialog, Modifying RadEditor's built-in dialogs. However I can not help you with the exact implementation of your custom solution.


    Greetings,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top