I have a web user control(NavigationControl.ascx) where I build a PanelBar and it contains another web user control.
How do I access the "DischargeListCriteriaControl" from the codebehind of the NavigationControl.ascx.cs. The below doesn't work.
<telerik:RadPanelBar runat="server" ID="SearchOptionsPanel" Width="172px" Skin="CMASkin" EnableEmbeddedSkins="false" OnClientItemClicked="PanelBarItemClicked"> <Items> <telerik:RadPanelItem Text="Search Options" Expanded="true" Value="MeasureOptions"> <Items> <telerik:RadPanelItem Text=""> <ItemTemplate> <uc1:DischargeListCriteriaControl ID="DischargeListCriteriaCtrl" runat="server" /> </ItemTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>
How do I access the "DischargeListCriteriaControl" from the codebehind of the NavigationControl.ascx.cs. The below doesn't work.
public DischargeListCriteriaControl DischargeListCriteriaControl { get { return this.DischargeListCriteriaCtrl; } }