Disable title on content area

3 posts, 1 answers
  1. Attila
    Attila avatar
    11 posts
    Member since:
    Jan 2013

    Posted 29 Jan 2013 Link to this post

    Hi,

    How can I disable the title on the content area?
    I have a title said: Rich text editor with ID...

    I'm using the div mode.

    As you can see in this demo, there is the title also:
    http://demos.telerik.com/aspnet-ajax/editor/examples/contentareamodediv/defaultcs.aspx
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 30 Jan 2013 Link to this post

    Hi,

    This 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.

    You can hide the title attribute and the tooltip using the following 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. Attila
    Attila avatar
    11 posts
    Member since:
    Jan 2013

    Posted 31 Jan 2013 Link to this post

    Thanks a lot!!!
Back to Top