I uses Telerik Radcontrols for Ajax, version 2008.3.1105.20 from 4.11.08.
I have a form which contains a few RadPageView pages.
In (only) one of the pages, I put some RadioButtons, then a RadEditor window.
The radeditor is defined this way in the aspx:
My first problem was that even after selecting another PageView, the focus was still on the editor!
The editor itself wasn't visible, but the cursor was still there, and if the user typed any keys, then when coming back to the editor, we could see that the characters types were added to the editor content!
I tried to use setFocus() to force the cursor to leave the editor, but that didn't work.
Then I tried another method: When leaving the editor's page, I change the editor visibility to false with:
then, when entering the editor's page, I turned editor's visibility back to true.
Now, there's isn't a problem with the focus, and the cursor isn't seen in the other pages at all.
But, this method raised another problem:
Now, the editor appears with no icons in the toolbar at all. Only the toolbar is shown with an empty ruler.
In some of my client's stations, it's even worse: sometimes the toolbar spread all over the screen, with one icon in each line.
Can you give me some help here? I'll be grateful to receive your suggestions.
Yours Sincerely,
Hanoch
I have a form which contains a few RadPageView pages.
In (only) one of the pages, I put some RadioButtons, then a RadEditor window.
The radeditor is defined this way in the aspx:
<telerik:RadEditor EnableViewState="false" EditModes="Design" runat="server" ID="edtNotes" |
ToolsFile="~/RadControls/Editor/BasicTools.xml" Skin="Web20" Height="250px" Width="650px" OnClientLoad="SelectionChanged" > |
<CssFiles> |
<telerik:EditorCssFile Value="~/RadControls/Editor/EditorContentArea.css" /> |
</CssFiles> |
</telerik:RadEditor> |
My first problem was that even after selecting another PageView, the focus was still on the editor!
The editor itself wasn't visible, but the cursor was still there, and if the user typed any keys, then when coming back to the editor, we could see that the characters types were added to the editor content!
I tried to use setFocus() to force the cursor to leave the editor, but that didn't work.
Then I tried another method: When leaving the editor's page, I change the editor visibility to false with:
$find("<%=edtNotes.ClientID%>").set_visible(false); |
then, when entering the editor's page, I turned editor's visibility back to true.
Now, there's isn't a problem with the focus, and the cursor isn't seen in the other pages at all.
But, this method raised another problem:
Now, the editor appears with no icons in the toolbar at all. Only the toolbar is shown with an empty ruler.
In some of my client's stations, it's even worse: sometimes the toolbar spread all over the screen, with one icon in each line.
Can you give me some help here? I'll be grateful to receive your suggestions.
Yours Sincerely,
Hanoch