Set Selected Row color when GridView is disable

2 posts, 0 answers
  1. hamid
    hamid avatar
    4 posts
    Member since:
    Jul 2006

    Posted 02 May 2012 Link to this post

    Hi

    I have master and detail gridview, I must disable master gridview, when user try to modify detail.
    Disable master gridview work fine, but user can't see which row is selected.
    I want set selected row color even gridview is disable.

    How can i do it?

    Thanks in advanced 
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 02 May 2012 Link to this post

    Hello Hamid, 

    Please could you elaborate on what you wish to do. I am unsure as to what you are asking. 
    You seem to be not allowing a user to edit the rows of the child template. You can disable the child template editing in the following way: 
    this.radGridView1.MasterTemplate.Templates[0].ReadOnly = true;

    Hope this helps, but please let me know if you have further questions
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top