[OPEN] [#271] How to handle IDMode in PartialViews?

Page 2 of 2 FirstFirst 12
  1. #11
    Please pass false as the second parameter of the ...For methods.
    Html.X().TextFieldFor(m => m.CreatedBy, false).Disabled(true),
    Html.X().DateFieldFor(m => m.CreatedAt, false).HideTrigger(true).Disabled(true),
    Html.X().TextFieldFor(m => m.ModifiedBy, false).Disabled(true),
    Html.X().DateFieldFor(m => m.ModifiedAt, false).HideTrigger(true).Disabled(true),
    Html.X().TextFieldFor(m => m.ClientID, false).Disabled(true)
    It prevents applying IDs to fields which come from the names of model properties.
  2. #12
    Quote Originally Posted by Daniil View Post
    Please pass false as the second parameter of the ...For methods.
    Html.X().TextFieldFor(m => m.CreatedBy, false).Disabled(true),
    Html.X().DateFieldFor(m => m.CreatedAt, false).HideTrigger(true).Disabled(true),
    Html.X().TextFieldFor(m => m.ModifiedBy, false).Disabled(true),
    Html.X().DateFieldFor(m => m.ModifiedAt, false).HideTrigger(true).Disabled(true),
    Html.X().TextFieldFor(m => m.ClientID, false).Disabled(true)
    It prevents applying IDs to fields which come from the names of model properties.
    We will try to come up with a global setting to do it.
    https://github.com/extnet/Ext.NET/issues/271
Page 2 of 2 FirstFirst 12

Similar Threads

  1. MVC Razor PartialViews with DesktopModuleProxy
    By markusn in forum 2.x Help
    Replies: 1
    Last Post: Nov 04, 2012, 3:27 PM
  2. IDMode in a UserControl
    By David Pelaez in forum 1.x Help
    Replies: 1
    Last Post: Mar 23, 2011, 8:55 PM
  3. Load PartialViews on Panel
    By Dominik in forum 1.x Help
    Replies: 5
    Last Post: Feb 25, 2011, 9:19 AM
  4. [CLOSED] [1.0] MVC PartialViews and Icons
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 19, 2010, 3:35 PM
  5. [CLOSED] [1.0] MVC PartialViews and styles?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Feb 14, 2010, 4:12 PM

Tags for this Thread

Posting Permissions