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

RadEditor EditMode Focus

3 Answers 98 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 03 Jul 2008, 05:11 PM
Hi,

I am playing around with the latest build of rad editor ajax. I want to only show the html mode and hide the toolbar. This is pretty easy to do with the following code:

HtmlEditor.EditModes = Telerik.Web.UI.EditModes.Html
HtmlEditor.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.ShowOnFocus;

But when i do so, i cannot enter any text into the editor. Its like i need to set its focus to html mode. The same goes when i choose to show the html and preview modes only. i have to select preview and then switch back to html mode before i am able to enter any text into the control.

Any help in solving this problem using the c# api would be greatly appreciated.

Thanks

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 Jul 2008, 12:16 PM
Hi Lefkos,

Your code should work properly. I made a test with it and I was able to type content in the editor. You can see my test in the attached video as well as test my project. Am I missing something?

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Lee
Top achievements
Rank 1
answered on 21 Aug 2008, 03:02 PM
Hi Rumen,

Thanks for the help. Unfortunately it still hasn't solved the problem. Your example works fine, but my version is enclosed within an asp.net MultiView. As a result it will not let me select the content area. I think its because the editor is focused on design mode when its showing me the html mode. Not sure.
0
Rumen
Telerik team
answered on 25 Aug 2008, 02:03 PM
Hi Lefkos,

Could you please, upgrade the editor to the latest version 2008.2.723 of Telerik.Web.UI.dll and see whether the problem still persists?

If you still experience any problems open a support ticket and send a sample working project that demonstrates the issue. We will examine it and do our best to provide a solution.


Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Lee
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Lee
Top achievements
Rank 1
Share this question
or