[CLOSED] MVC Controls RTL Issue

  1. #1

    [CLOSED] MVC Controls RTL Issue

    Hi,

    I have a problem getting the RTL working, is it as simple as setting the RTL to true or it needs other configurations to be done ? Please advise.


    Thanks in advance.
    Last edited by Daniil; Oct 11, 2013 at 4:35 AM. Reason: [CLOSED]
  2. #2
    Hi @Istofix,

    It requires to set up RTL="true" for top level containers, whatever it is a Viewport, a Panel or something else.
  3. #3

    RTL issue in Razor / MVC

    I noticed that the RTL works whenever I set the RTL to true in the web.config as below:

    <extnet theme="Gray" rtl="true" scriptMode="Debug" sourceFormatting="true" />

    However, I need to switch the RTL on and off in run time based on user selection. Is setting the RTL to true in the web.config a must to get it working ? is there any other way to configure the application to work with the RTL ?

    Is there something equivalent to the following in Razor : <ext:ResourceManager RTL="true" /> ?



    Thanks in advance.
  4. #4
    Hello!

    You can use Application or Session objects:

    Session["Ext.Net.RTL"] = true;
    Application["Ext.Net.RTL"] = true;
    Last edited by Baidaly; Oct 07, 2013 at 9:36 PM.

Similar Threads

  1. Replies: 21
    Last Post: Sep 02, 2013, 1:03 PM
  2. Ext.Net 2.1.1 Controls rendering issue in IE7
    By rahesh in forum 2.x Help
    Replies: 3
    Last Post: Feb 21, 2013, 4:54 AM
  3. [CLOSED] Issue in layout with nested user controls [1.6]
    By lapix in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 05, 2012, 2:17 PM
  4. Formatting issue with Grid Controls.
    By Rahul in forum 1.x Help
    Replies: 1
    Last Post: Jan 13, 2011, 10:01 AM
  5. [CLOSED] HBoxLayout hidden controls issue
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 22, 2010, 7:40 PM

Tags for this Thread

Posting Permissions