Right To Left in MVC

  1. #1

    Right To Left in MVC

    Hi,

    I'm so much glad to see the new version of Ext.Net 2.3.1.
    And the first thing that i checked is the Right To Left in the MVC razor views.

    in the web forms the >> RTL="true" is working perfect
    and in the MVC .RTL(true) NOT WORK !!!

    I have write about it and there is no answer...

    I relly want move to mvc in Ext.Net, and be glad to know when will be fixed.

    Thanks.
  2. #2
    Hello!

    Couldn't reproduce with the sample below. Probably, you forgot to set ResourceManager's RTL to true:

    @{
        var X = Html.X();
    }
    
    @X.ResourceManager().RTL(true)
        
    @(X.Window()
        .RTL(true)
        .ID("Window1")
        .Title("Hello World")
        .Icon(Icon.Application)
        .Height(185)
        .Width(350)
        .BodyStyle("background-color: #fff;")
        .BodyPadding(5)
        .Modal(true)
        .Content(c => "This is my first <a target='_blank' href='http://www.ext.net/'> Ext.NET</a> Window.")
    )
  3. #3
    Quote Originally Posted by Baidaly View Post
    Hello!

    Couldn't reproduce with the sample below. Probably, you forgot to set ResourceManager's RTL to true:

    @{
        var X = Html.X();
    }
    
    @X.ResourceManager().RTL(true)
        
    @(X.Window()
        .RTL(true)
        .ID("Window1")
        .Title("Hello World")
        .Icon(Icon.Application)
        .Height(185)
        .Width(350)
        .BodyStyle("background-color: #fff;")
        .BodyPadding(5)
        .Modal(true)
        .Content(c => "This is my first <a target='_blank' href='http://www.ext.net/'> Ext.NET</a> Window.")
    )


    Good Job !
    Thank's

Similar Threads

  1. Right To Left Languages
    By mono in forum 1.x Help
    Replies: 3
    Last Post: May 17, 2012, 12:36 PM
  2. Right to left support
    By Mahloujian in forum 2.x Help
    Replies: 1
    Last Post: Feb 09, 2012, 8:17 AM
  3. Combobox drawn on the left
    By Yannis in forum 1.x Help
    Replies: 3
    Last Post: Nov 26, 2009, 12:04 AM
  4. ASP.Net Themes and Localization right to left
    By Devworks in forum 1.x Help
    Replies: 12
    Last Post: Feb 18, 2009, 10:36 AM

Tags for this Thread

Posting Permissions