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

[Solved] CheckBox Grid Selection Issue

2 Answers 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ajit
Top achievements
Rank 1
ajit asked on 09 Jul 2009, 11:02 PM
Hi ,
           I have a check box grid. Once i select a row it gets high lighted. Please can you tell me how do i remove the highlight. It makes the grid look ugly.

Thank you

Regards,
Ajit

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Jul 2009, 05:52 AM
Hi,

Try the following approach in order to remove selected item style of grid row.

CSS:
 
<style type="text/css"
.SelectedStyle 
{  
    background: None !important;  
    background-colorwhite !important;  
}  
</style> 

ASPX:
 
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1"
    <SelectedItemStyle CssClass="SelectedStyle" ForeColor="black" /> 
    <MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
        <Columns>  
        </Columns> 
    </MasterTableView> 
    <ClientSettings> 
        <Selecting AllowRowSelect="true" /> 
    </ClientSettings> 
</telerik:RadGrid> 

-Shinu.
0
ajit
Top achievements
Rank 1
answered on 10 Jul 2009, 02:37 PM
Hi Shinu,
               Thnx for your quick reply, i tried the metyhod you have posted here however the grid line are still showing as highlighted how can i remove that. If i select a row the row grid line color is changing and i dont want that to happen. The background doent change as i wanted. Thanx for your help. Please could you provide me a solution to this issue.

Regards,
Ajit
Tags
Grid
Asked by
ajit
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
ajit
Top achievements
Rank 1
Share this question
or