[CLOSED] MVC - ItemsFromPatial and Item's namespace

  1. #1

    [CLOSED] MVC - ItemsFromPatial and Item's namespace

    Hi there,

    I have a panel whose items are form a partial view. I set a namespace for the panel but its items do not inherit that namespace.

    It is an issue of ext.net or it is the right thing your component is doing?

    Thanks in advance.

    x.Panel().Frame(true).Namespace("Sample").Title(TextResource.GeneralInformation).BodyPadding(10).Layout(LayoutType.Anchor).ItemsFromPartial("View1")
    View 1:
    @x.TextFieldFor(m => m.AnsvarligNavn).AnchorHorizontal("100%")svarligNavn_Hint)
    @x.TextFieldFor(m => m.AnsvarligTelefon).AnchorHorizontal("100%")
    @x.TextFieldFor(m => m.AnsvarligEmail).AnchorHorizontal("100%")
    Last edited by Daniil; Apr 07, 2014 at 4:45 PM. Reason: [CLOSED]
  2. #2
    Yes, namespace will not be inherited under Razor because there is no controls hierarchy (there is no control term under Razor) if subwidgets are located in another view

    You have to set namespace for subitems manually
  3. #3
    Quote Originally Posted by Vladimir View Post
    Yes, namespace will not be inherited under Razor because there is no controls hierarchy (there is no control term under Razor) if subwidgets are located in another view

    You have to set namespace for subitems manually
    Hi Vladimir,

    Thank you.

Similar Threads

  1. [CLOSED] [1.0] - Missing UX dll or namespace
    By FVNoel in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 12, 2013, 3:29 PM
  2. Help with TreeNode namespace
    By zXSwordXz in forum 2.x Help
    Replies: 4
    Last Post: Oct 27, 2012, 3:36 AM
  3. The type or namespace name 'Ext' could not be found
    By andrefreitasjr in forum 1.x Help
    Replies: 1
    Last Post: Feb 28, 2012, 1:03 PM
  4. Ext.Net.Calender Namespace
    By Rupesh in forum 1.x Help
    Replies: 5
    Last Post: Feb 24, 2012, 12:56 PM
  5. [CLOSED] [1.0] New NameSpace property
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 01, 2010, 8:40 PM

Posting Permissions