Hi,
I have a UserControl (m_ucPolicyList) within a RadPanelBar.
<telerik:RadPanelBar runat="server" ID="m_rpbPageContent" Width="99%">
<Items>
<telerik:RadPanelItem runat="server" Text="General Information" Width="100%" Value="General Information Panel" Expanded="true">
<ItemTemplate>
<div id="m_ldGeneralInfo" runat="server">
<tstUser:PolicyListControl ID="m_ucPolicyList" runat="server"/>
</div>
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
is there anyway to subscribe to events raised by my usercontrol (m_ucPolicyList)?
What I'm finding is that the UserControl (any control within a RadPanelBar) is not available to me at Page_Load and I have to wait for Page_PreRender to access it via the FindItemByValue() method. However, it appears that if I try to attach the eventhandler to my control in Page_PreRender it is too late in the page lifecycle to actually work.
I thought perhaps I could attach the eventhandler in the _ItemCreated event of the RadPanelBar but that event is not firing for me.
Any suggestions?
Thanks so much,
Kennon