Hi,
I want to be able to show the footer of a RadGrid's detailstableview dynamically and populate a RadComboBox on a button click event.
| protected void Button_Click(object sender, EventArgs e) |
| { |
| GridTableView tblView = (GridTableView)(sender as LinkButton).Parent.Parent.Parent.Parent.Parent; |
| tblView.ShowFooter = true; GridItem item = tblView.GetItems[GridItemType.Footer)[0]; RadComboBox radCombo = (RadComboBox)item.FindControl("RadCombo1"); DataTable dt = GetDataSource(); radCombo.DataSource = dt; radCombo.DataBind(); tblView.Rebind(); <-solution |
| } |
So my problem is the footer of a RadGrid's detailstableview will not display until I collapse and then re expand the parent node. How can this all be done smoothly, to just show the footer on a button click event.
Thanks,
Bill