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

[Solved] header for clientselect column

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Savyo
Top achievements
Rank 1
Savyo asked on 09 May 2013, 12:22 PM
Hi there,
     How can I give header for clientselect column.
thanks in advance
Savyo

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 May 2013, 12:27 PM
Hi,

Please try the following the code snippet to give HeaderText for ClientSelectColumn.

C#:
protected void RadGrid2_ItemCreated(object sender, GridItemEventArgs e)
{
    if (e.Item is GridHeaderItem)
    {
        GridHeaderItem item = (GridHeaderItem)e.Item;
        Label lbl = new Label();
        lbl.ID = "Label1";
        lbl.Text = "Select All";
        item["Select"].Controls.Add(lbl);
    }
}

Thanks,
Shinu.
Tags
Grid
Asked by
Savyo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or