locked
How to control order of fields? RRS feed

  • Question

  • User188291263 posted

    Its very interesing,i got my MetaData class with properties like

        partial class SiteSettingMetaData
        {

           [DisplayNameAttribute("X")]
            public string X { get; set; }

           [DisplayNameAttribute("Y")]
            public string Y { get; set; }

           [DisplayNameAttribute("Test")]
            public string ForeignKey { get; set; }
    }

    But for some reason Foreighn Key show up first in displaying fields. Is anyway to control Order and why Foreighn Key sometimes an top or bottom?
    Thanks

     

    Monday, September 1, 2008 5:28 PM

Answers