Hello,
It appears that RadAjaxManager does not work properly with RadioButton or RadioButtonList controls.
If I Have the following code:
When the page loads, the "All Work Orders" RadioButton will be selected by default. If you click the "My Work Orders" button the RadAjaxManager will "trigger" an "ajax postback" causing the loading panel to display and filter_ValueChanged will get called. If you then click "All Work Orders" after that, the RadAjaxManager will not trigger anything, the event will not get called and the loading panel does not display.
The same holds true for setting a "default selected" option in a RadioButtonList. If the AjaxSetting is removed from the RadAjaxManager for these RadioButton controls or RadioButtonList control everything works as expected, however a postback is caused which is why I want to use RadAjaxManager.
Please help.
It appears that RadAjaxManager does not work properly with RadioButton or RadioButtonList controls.
If I Have the following code:
<telerik:RadAjaxManager ID="ramAjax" runat="server" EnableHistory="True" OnAjaxRequest="ramAjax_AjaxRequest"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="rbAllWorkOrders"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="rgSearchResults" LoadingPanelID="ralpLoading" /> |
<telerik:AjaxUpdatedControl ControlID="pageTime" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="rbMyWorkOrders"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="rgSearchResults" LoadingPanelID="ralpLoading" /> |
<telerik:AjaxUpdatedControl ControlID="pageTime" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<asp:RadioButton runat="server" ID="rbAllWorkOrders" GroupName="rbgWorkOrderFilter" Text="All Work Orders" AutoPostBack="True" OnCheckedChanged="filter_ValueChanged" Checked="True" /> |
<asp:RadioButton runat="server" ID="rbMyWorkOrders" GroupName="rbgWorkOrderFilter" Text="My Work Orders" AutoPostBack="True" OnCheckedChanged="filter_ValueChanged" /> |
When the page loads, the "All Work Orders" RadioButton will be selected by default. If you click the "My Work Orders" button the RadAjaxManager will "trigger" an "ajax postback" causing the loading panel to display and filter_ValueChanged will get called. If you then click "All Work Orders" after that, the RadAjaxManager will not trigger anything, the event will not get called and the loading panel does not display.
The same holds true for setting a "default selected" option in a RadioButtonList. If the AjaxSetting is removed from the RadAjaxManager for these RadioButton controls or RadioButtonList control everything works as expected, however a postback is caused which is why I want to use RadAjaxManager.
Please help.