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

How to disable row selection color change

2 Answers 235 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 26 Feb 2009, 10:11 PM
Hi

I have unchecked the 'enable client side row selection' check box,
 but still if I click a row in the grid, it changes colour the same as if row selection is enabled.
How can I stop this effect?

Skin is 'default'

Thanks

Clive

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Feb 2009, 04:42 AM
Hello Clive,

Try setting the AllowRowSelect property of the grid to false as shown below, and see if it helps:
aspx:
 <telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" > 
     <ClientSettings EnablePostBackOnRowClick="True">             
       <Selecting  AllowRowSelect="false" />            
     </ClientSettings> 
   <MasterTableView > 
      .... 

Thanks
Princy.
0
antoniodlp
Top achievements
Rank 2
answered on 28 Mar 2009, 07:16 PM
And this will do it programatically (server side):
RadGrid1.ClientSettings.Selecting.AllowRowSelect = false

Tags
Grid
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
antoniodlp
Top achievements
Rank 2
Share this question
or