Hi Guys,
Am putting together a WEB App with an ever nearing deadline :o( I've a
Master Datagrid (defined in the ASP page) containing in the second column a
(details) datagrid (dynamically generated with the ItemDataBound event for
the master). Got the basic code from the excellent article
Code frag as follows:
Private Sub DataGridInvSumm ary_OnItemDataB ound(ByVal source As Object, ByVal
e As System.Web.UI.W ebControls.Data GridItemEventAr gs) Handles
DataGridInvSumm ary.ItemDataBou nd
If e.Item.ItemType = ListItemType.It em Or e.Item.ItemType =
ListItemType.Al ternatingItem Then
Dim DataGridInvLine As New DataGrid
Snipped...
e.Item.Cells(2) .Controls.Add(D ataGridInvLine)
End If
End Sub
I now want to trap the ItemDataBound event for the dyanically created
DataGrid DataGridInvLine and can't seem to make it work... all help really
really appreciated :o)
Thanks for taking the time to read this...
Shaun
Am putting together a WEB App with an ever nearing deadline :o( I've a
Master Datagrid (defined in the ASP page) containing in the second column a
(details) datagrid (dynamically generated with the ItemDataBound event for
the master). Got the basic code from the excellent article
Code frag as follows:
Private Sub DataGridInvSumm ary_OnItemDataB ound(ByVal source As Object, ByVal
e As System.Web.UI.W ebControls.Data GridItemEventAr gs) Handles
DataGridInvSumm ary.ItemDataBou nd
If e.Item.ItemType = ListItemType.It em Or e.Item.ItemType =
ListItemType.Al ternatingItem Then
Dim DataGridInvLine As New DataGrid
Snipped...
e.Item.Cells(2) .Controls.Add(D ataGridInvLine)
End If
End Sub
I now want to trap the ItemDataBound event for the dyanically created
DataGrid DataGridInvLine and can't seem to make it work... all help really
really appreciated :o)
Thanks for taking the time to read this...
Shaun
Comment