J
Jon Turner
I am trying to set focus to a listbox control within the DataGrid when they
select Add. How do I find the control or ItemIndex of where the new row
will inserted, or is there another event that the DataGrid will throw that I
can tap into.
Dim dg as DataGrid
Sub AddNewElement
Dim lBox as DropDownList
dg.ShowFooter
lBox = dtgCharges.Items(????).Cells(1).FindControl("MyDropDownList")
End Sub
Many Thanks
select Add. How do I find the control or ItemIndex of where the new row
will inserted, or is there another event that the DataGrid will throw that I
can tap into.
Dim dg as DataGrid
Sub AddNewElement
Dim lBox as DropDownList
dg.ShowFooter
lBox = dtgCharges.Items(????).Cells(1).FindControl("MyDropDownList")
End Sub
Many Thanks