This is a migrated thread and some comments may be shown as answers.
Disable title on content area
2 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
Attila
Top achievements
Rank 1
Attila asked on 29 Jan 2013, 09:49 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 30 Jan 2013, 05:07 PM
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.
0
Attila
Top achievements
Rank 1
answered on 31 Jan 2013, 01:49 PM
Thanks a lot!!!
Asked by
Attila
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Attila
Top achievements
Rank 1
Share this question
or