Hello,
I'm building a multi language (RTL and LTR) webpage which uses a RadEditor control.
I'm using the following RTL control:
But the problem is when changing the language to LTR, the RadEditor is still behave in RTL mode because of the following attributes:
DialogsCssFile
ContentAreaCssFile
What I shoud do?
Please, I need your help,
It is very appreciated to send me the modified code.
Regards,
Bader
I'm building a multi language (RTL and LTR) webpage which uses a RadEditor control.
I'm using the following RTL control:
<
telerik:RadEditor
runat
=
"server"
ID
=
"RadEditor1"
Height
=
"350px"
DialogsCssFile
=
"./RTL/RadEditor_Dialogs_RTL.css"
ContentAreaCssFile
=
"./RTL/EditorContentArea_RTL.css"
>
<
Modules
>
<
telerik:EditorModule
Visible
=
"false"
/>
</
Modules
>
</
telerik:RadEditor
>
But the problem is when changing the language to LTR, the RadEditor is still behave in RTL mode because of the following attributes:
DialogsCssFile
ContentAreaCssFile
What I shoud do?
Please, I need your help,
It is very appreciated to send me the modified code.
Regards,
Bader
5 Answers, 1 is accepted
0
Hi Bader,
Have you tried to not set the DialogsCssFile and the ContentAreaCssFile
All the best,
Rumen
the Telerik team
Have you tried to not set the DialogsCssFile and the ContentAreaCssFile
properties when loading the editor in its default LTR mode?All the best,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Bader
Top achievements
Rank 1
answered on 01 Aug 2011, 12:26 PM
Hello,
Thank you for your reply,
Yes, I tried, I got a RTL mode in LTR languages.
Regards,
Bader
Thank you for your reply,
Yes, I tried, I got a RTL mode in LTR languages.
Regards,
Bader
0
Hello Bader,
You can find attached a basic example which demonstrates how to switch from RTL to LTR mode and vice versa. It is up to you to enhance it to fit in your scenario.
Best wishes,
Rumen
the Telerik team
You can find attached a basic example which demonstrates how to switch from RTL to LTR mode and vice versa. It is up to you to enhance it to fit in your scenario.
Best wishes,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Bader
Top achievements
Rank 1
answered on 22 Aug 2011, 03:59 PM
Hello,
Thank you for your reply, I still have a problem.
I just sat a width of 100% to the radeditor control. If you switch to RTL mode then the Design, HTML and Preview buttons will apear in the center (Instead of the right side) and the header icons must also appear in RTL mode, thats mean, the Icons must be aligned to the right side (Please, view the attached image).
Please, I need your help,
It is very appreciated to send me the modified code.
Regards,
Bader
Thank you for your reply, I still have a problem.
I just sat a width of 100% to the radeditor control. If you switch to RTL mode then the Design, HTML and Preview buttons will apear in the center (Instead of the right side) and the header icons must also appear in RTL mode, thats mean, the Icons must be aligned to the right side (Please, view the attached image).
Please, I need your help,
It is very appreciated to send me the modified code.
Regards,
Bader
0
Hi Bader,
You should import the RTL/Editor_RTL.css file when the editor is placed in RTL mode and remove it when it is not.
Regards,
Rumen
the Telerik team
You should import the RTL/Editor_RTL.css file when the editor is placed in RTL mode and remove it when it is not.
Regards,
Rumen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>