This is a migrated thread and some comments may be shown as answers.

Hiding RadEditor Tooltip

4 Answers 131 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rengo
Top achievements
Rank 1
Rengo asked on 30 Apr 2013, 02:44 PM
Hello,

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



Thank You!

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 30 Apr 2013, 02:46 PM
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.
0
Rengo
Top achievements
Rank 1
answered on 30 Apr 2013, 03:04 PM
Hello Rumen,

THANK YOU for the excellent response time!

That is exactly what I was looking for!

Thanks Again!
0
Grant
Top achievements
Rank 1
answered on 05 Jun 2013, 09:38 AM
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
0
Rumen
Telerik team
answered on 06 Jun 2013, 02:20 PM
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.
Tags
Editor
Asked by
Rengo
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Rengo
Top achievements
Rank 1
Grant
Top achievements
Rank 1
Share this question
or