Readonly properties

2 posts, 1 answers
  1. Erik
    Erik avatar
    24 posts
    Member since:
    Nov 2010

    Posted 05 Feb 2012 Link to this post

    When writing customized property definitions, is it possible to mark properties as readonly? The workaround I have now is setting a control's IsEnabled property to false in the editortemplate
  2. Answer
    Maya avatar
    4062 posts

    Posted 06 Feb 2012 Link to this post

    Hi Erik,

    RadPropertyGrid will support DataAnnotations in our next official release - Q1 2012 coming in the middle of February. So, you will be able to set ReadOnly(true) attribute to the properties you want and the property grid will respect it. 

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top