We use radeditor at many places on the same page and what we notice is that the toolbar button state is getting saved every time when we close the editor.
In other words, if I click on OK or Cancel button to close the editor, opening the editor again makes the same toolbar button highlighted.
Can you please let me know how I can disable this behavior?
Thanks, Lakshman
In other words, if I click on OK or Cancel button to close the editor, opening the editor again makes the same toolbar button highlighted.
Can you please let me know how I can disable this behavior?
Thanks, Lakshman
5 Answers, 1 is accepted
0
Lakshman
Top achievements
Rank 1
answered on 02 Mar 2009, 11:57 PM
Forgot to mention that this is happening only on IE.
Please let me know how I can reset the hover state when I open the editor every time.
Thanks, Lakshman
Please let me know how I can reset the hover state when I open the editor every time.
Thanks, Lakshman
0
Hi Lakshman,
We are aware of this behavior, as the editor's own ContextMenus and ToolStrips face the problem. We have spent extensive time trying to work around it, as it proved to be extremely problematic to fix. After trying literally tens of different approaches, we were able to workaround it, albeight with a very ugly hack.
The problem is because of a bug in IE where the :hover style of the selected link is persisted even if the mouse is no longer with the link - in the scenario where the link was made invisible while the mouse was still over it.
We can provide you with the workaround, but since there have been a number of small changes to the editor's internal rendering, my suggestion is to first wait until the official release of Q1 2009 scheduled for next week- because the latest version of the hack would not work wit the editor you are using now.
Please, once you upgrade your editor after the release, write back to us and we will post the workaround in this forum thread.
Greetings,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
We are aware of this behavior, as the editor's own ContextMenus and ToolStrips face the problem. We have spent extensive time trying to work around it, as it proved to be extremely problematic to fix. After trying literally tens of different approaches, we were able to workaround it, albeight with a very ugly hack.
The problem is because of a bug in IE where the :hover style of the selected link is persisted even if the mouse is no longer with the link - in the scenario where the link was made invisible while the mouse was still over it.
We can provide you with the workaround, but since there have been a number of small changes to the editor's internal rendering, my suggestion is to first wait until the official release of Q1 2009 scheduled for next week- because the latest version of the hack would not work wit the editor you are using now.
Please, once you upgrade your editor after the release, write back to us and we will post the workaround in this forum thread.
Greetings,
Tervel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Lakshman
Top achievements
Rank 1
answered on 05 Mar 2009, 05:54 PM
Thanks Travel for getting back to me and we will wait for Q1 2009 to get released.
Lakshman
Lakshman
0
Lakshman
Top achievements
Rank 1
answered on 21 Sep 2009, 05:09 AM
Travel,
We have upgraded our RadControls for ASP.NET AJAX to the latest Version 2009.2 826 (Aug 26, 2009) and would like to get the work around from you now.
Thanks, Lakshman
We have upgraded our RadControls for ASP.NET AJAX to the latest Version 2009.2 826 (Aug 26, 2009) and would like to get the work around from you now.
Thanks, Lakshman
0
Hi Lakshman,
Using the code below you can reset every tool that you want. Just set the name of the desired tool in the getToolByName method and call this code:
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Using the code below you can reset every tool that you want. Just set the name of the desired tool in the getToolByName method and call this code:
| var tool = editor.getToolByName("MyTool"); |
| if ($telerik.isIE) |
| { |
| var a = tool.get_element(); |
| if (a) |
| { |
| var newA = a.cloneNode(true); |
| a.replaceNode(newA); |
| tool._element = newA; |
| } |
| } |
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
