ltr + rtl

12 posts, 0 answers
  1. ChrisS
    ChrisS avatar
    50 posts
    Member since:
    Aug 2005

    Posted 22 Apr 2008 Link to this post

    Can anyone tell me how to change the RAD Editor so the content is displayed from right to left?

    Many thanks
  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 22 Apr 2008 Link to this post

    Hello Chris,

    Here are the steps:
    1. Set the editor's css file to point to an external css file:

       <telerik:radeditor runat="server" ID="RadEditor1">
          <CssFiles>
              <telerik:EditorCssFile  Value="~/EditorContentArea.css"/>
          </CssFiles>
      </telerik:radeditor>
    2. In the external css file put the a global body tag with a text-align property set to right !important, e.g.

      body
      {
          padding:3px;
          background-image: none;
          margin: 0px;
          text-align: right !important;
          scrollbar-face-color: #E9E9E9;
          scrollbar-highlight-color: #FFFFFF;
          scrollbar-shadow-color: #E9E9E9;
          scrollbar-3dlight-color: #DBDBDB;
          scrollbar-arrow-color: #787878;
          scrollbar-track-color: #F5F5F5;
          scrollbar-darkshadow-color: #AEAEAE;
          word-wrap: break-word;
      }
       
    3. Save the file, delete your browser cache and restart your browser to see the change.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. ChrisS
    ChrisS avatar
    50 posts
    Member since:
    Aug 2005

    Posted 23 Apr 2008 Link to this post

    Thanks for the information.

    If I now wanted to right align the tool bars how would I do that?

    Many thanks
  4. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 24 Apr 2008 Link to this post

    Hi Chris,

    The current version of RadEditor for ASP.NET AJAX does not offer the requested RTL toolbar rendering. This feature is logged in our ToDo list and we will try to implement it for the Q2 version of RadControls for ASP.NET AJAX.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. ChrisS
    ChrisS avatar
    50 posts
    Member since:
    Aug 2005

    Posted 24 Apr 2008 Link to this post

    Dear Rumen,

    Thank you for your reply.

    Is it possible to see a list of features / corrections that you are planning for:

    SP1 release?
    Q2 release?

    I would find this very useful as I would know whether an issue I am experiencing is due to be fixed etc.

    Many thanks
  6. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 25 Apr 2008 Link to this post

    Hello Chris,

    It is most likely that we will be not able to implement new features in the SP1 release of RadEditor for ASP.NET, because our efforts are concentrated on fixing the reported issues.

    Here is the list of the bugs that we were able to fix so far and that will be included in the upcoming SP1 release:
    • enableResize property for the editor. defautl is true, when set to false the editor resizing is not rendered.
    • changed the base class from Page to RadAjaxPage. This way we can use the RadAjaxManager in the editor dialogs in medium
    • fixed a problem with child controls CSS not being output in Ajax requests
    • fixed a problem with firefox and iframes on the same page as the editor
    • file upload in file manager dialogs should now display a more readable max upload size (bytes, kb, mb) instead of just bytes
    • added new properties for the imagemanager settings - EnableImageEditor (enable/disable image editor tool),  ImageEditorF...
    • enable close button after addcustomword
    • the Editor and spell skins should now be set correctly in all cases: set from aspx, set from code, set from web.config specific, set from web.config global
    • added missing localization for new dialogs
    • check words before they are added to the custom dictionary. this prevents problems caused by adding bad words(e.g. containing numbers - 030E1a)
    • add a space for each new line in the text
    • fixes for the spell dialog
    • fixed a problem when calling image editor from image manager, called from image manager caller tool
    RadControls for ASP.NET AJAX Q1 2008 suite has been released on 16 April 2008 and it is to early to provide information about the planned features for the Q2 release of RadControls for ASP.NET AJAX. More details on the next release will be available shortly on the following page: Roadmap.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. ido nahmias
    ido nahmias avatar
    64 posts
    Member since:
    May 2006

    Posted 18 Jun 2012 Link to this post

    hi

    how to render the tool in RTL 
    in ltr mode : tools are render from left to right
    i need to render the tools from right to left

    thanks
  8. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 18 Jun 2012 Link to this post

    Hello,

    You can see how to render RadEditor in RTL mode in this live demo: Right-to-left Support.

    Best regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. ido nahmias
    ido nahmias avatar
    64 posts
    Member since:
    May 2006

    Posted 18 Jun 2012 Link to this post

    hi

    the toolbar is aligned to the right - but the tools in the tool bar are rendered from left to right 
    its  render correctly when i am using the default toolbar but not when using a xml file for the tools.

  10. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 20 Jun 2012 Link to this post

    Hello,

    The tools are rendered in the same order as they are defined in the toolsfile. If you want to change the order you can download and modify the ToolsFile yourself. After that set the ToolsFile property to point to the modified toolsfile.xml file.

    You can download the default toolsfile from this KB article: Default ToolsFile.xml file of RadEditor for ASP.NET AJAX.

    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. ido nahmias
    ido nahmias avatar
    64 posts
    Member since:
    May 2006

    Posted 20 Jun 2012 Link to this post

    hello 

    i have a multilanguage site : hebrew and english (rtl/ltr)

    i have one  toolsfile.xml for example : i have cut , copy,paste tools 

    in english the tools are in the currect order

    but in hebrew (rtl) all the toolbar is aligned to the right but the tools are renderd from left to right 
    cut copy paste (the first tool is on rhe left side)

    and should be : (the first tool should be from the right side)
    paste copy cut 

    yes i can write toolsfile for hebrew and place all the tools from last to first -
    and then load toolsfile by the culture , but it is a workaround

  12. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 20 Jun 2012 Link to this post

    Hello,

    RadEditor does not offer the required functionality to manually replace the tools order when the page layout is changed from LTR to RTL and vice versa. It is up to the developer to create two toolsfiles with the desired tools order and set them according to the page layout.

    Regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top