Hi Guys,
I am using Partial Views from EXT.NET project in this project.
The rowselect direct event is not working when I created the gridpanel (code behind) dynamically, giving me the error:
System.Web.HttpException: The control ID 'RowselectionMOdel1' is not found
Can you please help, see the below code.

Structure : Default.aspx autoloads page subjectDetails.aspx which loads a usercontrol filter.ascx(see below) on button click

protected void Page_Init(object sender, EventArgs e)
{
this.BuildGridPanel();----->is loading the grid
RowSelectionModel RowSelectionModel1 = new RowSelectionModel();
RowSelectionModel1.DirectEvents.RowSelect.Event += RowChildSelect;
this.GridPanel1.SelectionModel.Add(RowSelectionMod el1);
GridPanel1.Render();
}

<ext:GridPanel ID="GridPanel1" runat="server" Height="300" AutoScroll="true" Frame="true"
Layout="Anchor" IDMode="Static">
<Store>
<ext:Store ID="Store1" runat="server" IgnoreExtraFields="false" RemoteSort="true">
</ext:Store>
</Store>
<SelectionModel>
<ext:RowSelectionModel runat="server">
<DirectEvents>
<RowSelect OnEvent="RowChildSelect">
</RowSelect>
</DirectEvents>
</ext:RowSelectionModel>
</SelectionModel>
<Plugins>
<ext:GridFilters ID="gfElement" runat="server">
<Filters>
</Filters>
</ext:GridFilters>
</Plugins>
<LoadMask ShowMask="true" />
<BottomBar>
<ext:PagingToolbar runat="server" ID="PagingToolbar" PageSize="10" DisplayInfo="true"
DisplayMsg="Displaying Records {0} - {1} of {2}" EmptyMsg="No Records to display">
<Items>
<ext:ToolbarSeparator ID="sr" runat="server" />
</Items>
</ext:PagingToolbar>
</BottomBar>
</ext:GridPanel>