The question is twofold:
Question 1. How, when I have an update in BmpDemographic1 can I get the ajax to fire on BmpSelectList? Right now when I update BmpDemographic1, the ajax files on the updatedcontrol and BmpSelectList also updates as it is being told to. However the loadingpanel does not fire. I am assuming the following.. on the aspx RadajaxManager, declare the user controls and their related updatedcontrols... ie UC1 manages UC2 and UC3. When UC2 is updated, Update UC1.
aspx page code:
Within my ascx files I have the following:
Within my code I essentially say when the dropdown is updated, throw and update request back to the other uc. This gets handled in the page_Prerender event on the .aspx.vb page
Any Idea why I can't get the loading panel on BmpSelectList1 to show?
-------------------------------------------
Question 1. How, when I have an update in BmpDemographic1 can I get the ajax to fire on BmpSelectList? Right now when I update BmpDemographic1, the ajax files on the updatedcontrol and BmpSelectList also updates as it is being told to. However the loadingpanel does not fire. I am assuming the following.. on the aspx RadajaxManager, declare the user controls and their related updatedcontrols... ie UC1 manages UC2 and UC3. When UC2 is updated, Update UC1.
aspx page code:
<uc2:BmpSelectList ID="BmpSelectList1" runat="server" /> <table><tr><td > <uc3:BmpDemographic ID="BmpDemographic1" runat="server" /> </td><td rowspan="3"> <uc1:BmpRcds ID="BmpRcds1" runat="server" /> </td> </tr> </table> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" Skin="Default" > </telerik:RadAjaxLoadingPanel> <telerik:RadAjaxManager ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="BmpSelectList1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="BmpDemographic1" /> <telerik:AjaxUpdatedControl ControlID="BmpRcds1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="BmpDemographic1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="BmpSelectList1" LoadingPanelID="RajAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="BmpRcds1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="BmpSelectList1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>Within my ascx files I have the following:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function myUserControlClickHandler() { $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("content"); } </script> </telerik:RadCodeBlock> <telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="AsocDD"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="status" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="AdvisorDD"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="status" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" Skin="Default" > </telerik:RadAjaxLoadingPanel>Within my code I essentially say when the dropdown is updated, throw and update request back to the other uc. This gets handled in the page_Prerender event on the .aspx.vb page
If IsNumeric(BmpDemographic1.Update) = True ThenBmpSelectList1.SendID = BmpDemographic1.Update ' Keep the selected row BmpSelectList1.updategrid() ' Radgrid.mastertable.rebind() BmpDemographic1.Update = Nothing ' clear the update property End IfAny Idea why I can't get the loading panel on BmpSelectList1 to show?
-------------------------------------------