I'm trying to access EditForm controls from a different method on the same page.
I'm using the following method but I keep getting null for GridEditableItem. Help?
I'm using the following method but I keep getting null for GridEditableItem. Help?
Protected Sub NumericTextBoxChanged(ByVal sender As Object, ByVal e As EventArgs) Dim grid As RadGrid = AddEditQuoteFormView.FindControl("ItemsRadGrid") Dim editItem As GridEditableItem = CType(grid.MasterTableView.GetItems(GridItemType.EditItem)(0), GridEditableItem) Dim lengthNumericTextBox As RadNumericTextBox = CType(editItem("Length").Controls(0), RadNumericTextBox) Dim length = lengthNumericTextBox.Value CalculateFreightClass(length, width, height, weight)End Sub