i have grid2 & btnUpdate inside grid1 "MasterTableViewEditForms" (Template)
and i've successfully bind grid2 datasource inside grid1
my problems is, i can't get values from grid2 when hitting btnUpdate
the following error occured when hitting btnUpdate "Object reference not set to an instance of an object."
i have search some post in this forums but couldn't find any solution, please help
thanks in advance.
and i've successfully bind grid2 datasource inside grid1
my problems is, i can't get values from grid2 when hitting btnUpdate
Protected Sub grid1_UpdateCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles grid1.UpdateCommand Dim grd2 As RadGrid = TryCast(TryCast(e.Item, GridDataItem).ChildItem.FindControl("grid2"), RadGrid) lblMsg.Text = grd2.Items(0).Cells(2).TextEnd Subthe following error occured when hitting btnUpdate "Object reference not set to an instance of an object."
i have search some post in this forums but couldn't find any solution, please help
thanks in advance.