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

Disable Select All checkbox

2 Answers 201 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bobby
Top achievements
Rank 1
Bobby asked on 14 Jan 2009, 04:44 PM

Looking to disable the select all check box in the grid header. Limitiing users to a certain number of selected rows.. Im only using client side functonality. no server code, any suggestions?

Thanks

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Jan 2009, 05:13 PM
Hello Bobby,

Please test the following suggestion:

C#
protected void RadGrid1_PreRender(object sender, EventArgs e) 
    GridHeaderItem item = RadGrid1.MasterTableView.GetItems(GridItemType.Header)[0] as GridHeaderItem; 
    item["SelectColumn"].Controls[0].Visible = false

aspx
<Columns> 
    <telerik:GridClientSelectColumn UniqueName="SelectColumn" /> 

I hope this helps.

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bobby
Top achievements
Rank 1
answered on 14 Jan 2009, 05:23 PM
Edit: Thanks
Tags
Grid
Asked by
Bobby
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Bobby
Top achievements
Rank 1
Share this question
or