Hiding RadEditor Tooltip

5 posts, 0 answers
  1. Rengo
    Rengo avatar
    25 posts
    Member since:
    Nov 2012

    Posted 30 Apr 2013 Link to this post

    Hello,

    How do we prevent the tooltip from appearing in the RadEditor?



    Thank You!
  2. Rumen
    Admin
    Rumen avatar
    12847 posts

    Posted 30 Apr 2013 Link to this post

    Hi,

    The Tooltip property of RadEditor applies a title attribute to the control's DIV wrapper, but not to the content area.

    The reported default tooltip is enabled by default for the screen readers. The same title attribute is also applied to the iframe content area (ContentAreaMode="iframe"), but the browser does not display it because its not a div but iframe.

    You can easily hide the title attribute and the tooltip using the following code:
    Copy Code
    <telerik:RadEditor ID="RadEditor1" runat="server" ContentAreaMode="Div"
    OnClientLoad="editorLoad">
    </telerik:RadEditor>
    <script type="text/javascript">
    function editorLoad(editor) {
      var contentAreaEl = editor.get_contentAreaElement();
      contentAreaEl.removeAttribute("title");
    }
    </script>



    Kind 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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rengo
    Rengo avatar
    25 posts
    Member since:
    Nov 2012

    Posted 30 Apr 2013 Link to this post

    Hello Rumen,

    THANK YOU for the excellent response time!

    That is exactly what I was looking for!

    Thanks Again!
  5. Grant
    Grant avatar
    1 posts
    Member since:
    Jun 2013

    Posted 05 Jun 2013 Link to this post

    Hi,

    Thanks so much for this post.

    Can you please let me know where exactly I need to copy this code to.

    This is the Rad Editor for sharepoint not the Ajax editor

    Regards
    Grant
  6. Rumen
    Admin
    Rumen avatar
    12847 posts

    Posted 06 Jun 2013 Link to this post

    Hello Grant,

    Please, see the following KB article on the subject: How to execute custom code called on RadEditor's events.

    Regards,
    Rumen
    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 the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017