Andrew Thompson
Top achievements
Rank 1
Andrew Thompson
asked on 27 Aug 2009, 06:11 PM
When following the RadEditor as a Text demo (http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx) I notice a peculiar 'bug'.
Load the page.
Click on the area inside the blue border (the Resume Field).
The blue border at the bottom disappears and doesn't reappear.
Is there a work-around for this?
I'm running IE8.0.6001.18702CO.
Load the page.
Click on the area inside the blue border (the Resume Field).
The blue border at the bottom disappears and doesn't reappear.
Is there a work-around for this?
I'm running IE8.0.6001.18702CO.
5 Answers, 1 is accepted
0
Andrew Thompson
Top achievements
Rank 1
answered on 27 Aug 2009, 06:15 PM
I should also note that I get a different result using FireFox. In that instance it gains 4 pixels bottom border.
0
Hi Andrew,
Please, try the following solution:
Greetings,
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.
Please, try the following solution:
| <script type="text/javascript"> |
| function OnClientLoad(editor, args) |
| { |
| var element = document.all ? editor.get_document().body : editor.get_document(); |
| $telerik.addExternalHandler(element, "click", function(e) |
| { |
| editor.setSize(300, 145); |
| }); |
| } |
| </script> |
| <telerik:RadEditor OnClientLoad="OnClientLoad" Height="150px" Width="300px" ToolsWidth="330px" |
| EditModes="Design" ID="RadEditor1" runat="server" ToolbarMode="ShowOnFocus" |
| ToolsFile="~/Editor/Examples/EditorAsTextBox/BasicTools.xml"> |
| </telerik:RadEditor> |
Greetings,
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.
0
Andrew Thompson
Top achievements
Rank 1
answered on 01 Sep 2009, 08:27 PM
| <script type="text/javascript"> |
| function OnClientLoad(editor, args) |
| { |
| var element = document.all ? editor.get_document().body : editor.get_document(); |
| $telerik.addExternalHandler(element, "click", function(e) |
| { |
| editor.setSize(300, 145); |
| }); |
| } |
| </script> |
| <telerik:RadEditor OnClientLoad="OnClientLoad" Height="150px" Width="300px" ToolsWidth="330px" |
| EditModes="Design" ID="RadEditor1" runat="server" ToolbarMode="ShowOnFocus" |
| ToolsFile="~/Editor/Examples/EditorAsTextBox/BasicTools.xml"> |
| </telerik:RadEditor> |
Most peculiar.
0
Andrew Thompson
Top achievements
Rank 1
answered on 01 Sep 2009, 08:33 PM
editor.SetSize(300, 143) does resolve the issue somewhat...the border looks different from entering the editor space to leaving the editor space.
However this solution doesn't appear to work in pages that use masterpages. I get the error:
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases
0
Hi Andrew,
I am not sure why you get this error in your masterpages scenario. Nevertheless if you isolate the problem in a sample working project and send it by opening a support ticket I will be able to debug the error and to provide a solution.
Sincerely,
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.
I am not sure why you get this error in your masterpages scenario. Nevertheless if you isolate the problem in a sample working project and send it by opening a support ticket I will be able to debug the error and to provide a solution.
Sincerely,
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.
