HI,
Is there any pre render event in ultra win grid ????
i want to use the following code
to a win grid.
Private Sub DataGrid1_PreRender(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles DataGrid1.PreRender
Dim dgitem As New DataGridItem(0, 0, ListItemType.Header)Dim mycell As New TableCell()mycell.ColumnSpan = 2 'Set it to the colspan that you wantmycell.Text = "This is the top level header item spanning two columns!"dgitem.Cells.Add(mycell)DataGrid1.Controls(0).Controls.AddAt(0, dgitem)
End Sub
please help me
Thanks & Regards
The PreRender event is used for ASP.NET controls, not Windows Forms controls such as WinGrid.
With this in mind, I have two follow-up questions: