Hi there.
How do I iterate through a Hierarchial Table and find the last row? Ive done this at the top level without DetailTables - OnPreRender I can go grab the Last GridItem and find the appropriate control and set the visibility. Thanks.
So something like -
How do I iterate through a Hierarchial Table and find the last row? Ive done this at the top level without DetailTables - OnPreRender I can go grab the Last GridItem and find the appropriate control and set the visibility. Thanks.
So something like -
if (rgQuestions.Items.Count > 0){ GridItem gi = rgQuestions.Items[rgQuestions.Items.Count - 1]; ImageButton btnDown = gi.FindControl("btnDown") as ImageButton; btnDown.Visible = false;}