[CLOSED] Have instance of ResourceManager

  1. #1

    [CLOSED] Have instance of ResourceManager

    Hi there,

    With MVC, is there any way to have instance of ResourceManager?

    Thanks,
    Last edited by Daniil; Jan 21, 2014 at 12:39 PM. Reason: [CLOSED]
  2. #2
    Hi @immenso,

    Please clarify where do you need it and what do you need to do with that?
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @immenso,

    Please clarify where do you need it and what do you need to do with that?
    Hi,

    I need to have the locale already set to it.
  4. #4
    This appears to be working.

    Example
    <!DOCTYPE html>
    <html>
    <head>
        <title>Ext.Net.MVC v2 Example</title>  
    </head>
    <body>
        @Html.X().ResourceManager().Locale("ru-RU")
    
        @Html.X().Label().Text(X.ResourceManager.Locale)
    </body>
    </html>
  5. #5
    Quote Originally Posted by Daniil View Post
    This appears to be working.

    Example
    <!DOCTYPE html>
    <html>
    <head>
        <title>Ext.Net.MVC v2 Example</title>  
    </head>
    <body>
        @Html.X().ResourceManager().Locale("ru-RU")
    
        @Html.X().Label().Text(X.ResourceManager.Locale)
    </body>
    </html>
    Hi Danill,

    Thank you.

Similar Threads

  1. Replies: 0
    Last Post: Oct 14, 2013, 2:35 PM
  2. Replies: 13
    Last Post: Sep 10, 2013, 9:12 PM
  3. Ext.Net new instance issues
    By zaheer.ahmad in forum 2.x Help
    Replies: 1
    Last Post: Feb 22, 2012, 4:14 PM
  4. Replies: 13
    Last Post: May 03, 2010, 4:17 AM
  5. Replies: 7
    Last Post: Nov 19, 2009, 2:55 AM

Posting Permissions