or
Private Sub uxRadGrid_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles uxRadGrid.ItemCommand If e.CommandName = Telerik.Web.UI.RadGrid.InitInsertCommandName Then e.Canceled = True Dim newValues As System.Collections.Specialized.ListDictionary = New System.Collections.Specialized.ListDictionary() newValues("ShowTotal") = False newValues("IncludeInGrandTotal") = False e.Item.OwnerTableView.InsertItem(newValues) ElseIf e.CommandName = "InitInsertElement" Then e.Canceled = True Dim newValues As System.Collections.Specialized.ListDictionary = New System.Collections.Specialized.ListDictionary() newValues("IncludeInTotal") = False
' FOLLOWING LINE CRASHES BECAUSE IT IS INSERTING IN THE LEVEL 1 GRID - NOT THE CHILD GRID.
' NEED CODE FOR OPENING CHILD INSERT FORM e.Item.OwnerTableView.InsertItem(newValues) ElseIf (e.CommandName = "Update" OrElse
.... rest irrelevant<asp:HyperLink runat="server" Text="{Name}" bindfield="Name,ID" exportformats="html" OnPreRender="hlName_PreRender" /><asp:Label runat="server" Text="{Name} for PDF" exportformats="pdf" bindfield="Name" /><asp:Label runat="server" Text="{Name} for Excel" exportformats="excel" bindfield="Name" />