RadGrid for ASP.NET

RadGrid Send comments on this topic.
DetailTableDataBind Event
See Also 
Telerik.WebControls Namespace > RadGrid Class : DetailTableDataBind Event


Fires when a detail-table in the hierarchy is about to be bound. You should only assign the DataSource property of the detail table to a data-source properly filtered to display ony child records related to the parent item.   

Event Data

The event handler receives an argument of type GridDetailTableDataBindEventArgs containing data related to this event. The following GridDetailTableDataBindEventArgs properties provide information specific to this event.

PropertyDescription
Canceled Gets or sets a value, defining whether the command should be canceled.
DetailTableView Gets a reference to the detail table being bound.
 

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Event DetailTableDataBind() As GridDetailTableDataBindEventHandler
Visual Basic (Usage)Copy Code
Dim instance As RadGrid
Dim handler As GridDetailTableDataBindEventHandler
 
AddHandler instance.DetailTableDataBind, handler
C# 
public event GridDetailTableDataBindEventHandler DetailTableDataBind()
 

Event Data

The event handler receives an argument of type GridDetailTableDataBindEventArgs containing data related to this event. The following GridDetailTableDataBindEventArgs properties provide information specific to this event.

PropertyDescription
Canceled Gets or sets a value, defining whether the command should be canceled.
DetailTableView Gets a reference to the detail table being bound.

Remarks

You can find the instance of the detail table in the event argument (e). You can find the parent item using e.DetailTable.ParentItem property. For more information see Hierarchical Binding

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also