This is a migrated thread and some comments may be shown as answers.

Set Selected Row color when GridView is disable

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
hamid
Top achievements
Rank 1
hamid asked on 02 May 2012, 09:59 AM
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 

1 Answer, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 02 May 2012, 10:52 AM
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
Tags
GridView
Asked by
hamid
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Share this question
or