I have created a class that builds a custom grid object (StandardGrid). In addition to that I have created a user control that I want to insert into the FilteringItem of the grid object. When the user clicks on the button inside the user control I want to perform an action on the grid. I'm not sure how to hook things up properly. Here's what I currently have happening. The GridFilterButton (user control) inserts fine into the grid initially but then isn't available on postback. Any help would be appreciated.
void StandardGrid_ItemCreated(object sender, GridItemEventArgs e)
GridFilteringItem filteringItem = e.Item as GridFilteringItem;
//Insert the GridFilterButton @ position 0 in the Grid
Control GridFilterButton = this.Page.LoadControl("~\\UserControls\\GridFilterButton.ascx");