Last post May 05, 2011 04:46 AM by email@example.com
May 02, 2011 04:24 PM|fariborz|LINK
I am trying to add a second column header to a telerik Radgrid.
The following is my code, which was working on GridView but it is not working on radgrid:
Protected Sub gvEquipment_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs) Handles gvEquipment.ItemCreated
If (TypeOf e.Item Is GridHeaderItem) Then
'Build custom header.
Dim oGridView As RadGrid = DirectCast(sender, RadGrid)
Dim oGridViewRow As New TableRow
Dim oTableCell As New TableCell
'Add Blanks over first 3 cells
oTableCell.Text = ""
oTableCell.ColumnSpan = 3
oTableCell = New TableCell
oTableCell.Text = "QUANTITY PER"
oTableCell.Font.Size = 10
oTableCell.ColumnSpan = 5
oTableCell.HorizontalAlign = HorizontalAlign.Center
May 03, 2011 07:58 AM|vinz|LINK
There may be some here who knows about Telerik controls, but I think you stand a better chance by posting it at Telerik dedicated forums:
May 05, 2011 04:46 AMfirstname.lastname@example.org|LINK
Check the following help article which deals with adding ColumnHeader.
Note:Set the text of the header columns using HeaderText .