I'm having a problem accessing controls in the RadAjaxManager. The controls are within an item template in the RadPanelBar. Is there a way to access these?
Here's a code snippet. In this example, lbxOrg will be using Ajax to update the lbxContract. However, I get an error with this - seems like lbxOrg cannot be found by the RadAjaxManager.
Thanks!
ashah
Here's a code snippet. In this example, lbxOrg will be using Ajax to update the lbxContract. However, I get an error with this - seems like lbxOrg cannot be found by the RadAjaxManager.
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="lbxOrg"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="lbxContract"/> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadPanelBar ID="RadPanelBar1" Width="100%" runat="server" ExpandMode="MultipleExpandedItems" |
| Skin="Gray"> |
| <Items> |
| <telerik:RadPanelItem Value="Items" Text="Filters"> |
| <Items> |
| <telerik:RadPanelItem Value="FiltersItem"> |
| <ItemTemplate> |
| <asp:ListBox ID="lbxOrg" runat="server" Rows="10" AutoPostBack="True" |
| SelectionMode="Multiple" OnSelectedIndexChanged="lbxOrg_SelectedIndexChanged" |
| Width="300px"> |
| </asp:ListBox> |
| <br /> |
| <asp:ListBox ID="lbxContract" runat="server" AutoPostBack="True" |
| OnSelectedIndexChanged="lbxContract_SelectedIndexChanged" Rows="10" SelectionMode="Multiple" |
| Width="100px"> |
| </asp:ListBox> |
| </ItemTemplate> |
| </telerik:RadPanelItem> |
| </Items> |
| </telerik:RadPanelItem> |
| </Items> |
| </telerik:RadPanelBar> |
Thanks!
ashah