I have a page using the Telerik tab control with three tabs. Inside the second tab is the Toolbar control and a CheckboxList (bound in the code-behind). Inside the third tab is a RadGrid that is bound in the code-behind. The Toolbar control has a single button that opens a RadWindow instance with a new page as a modal. When you save the contents of the page in the modal the CheckboxList control should update. The AjaxManager on the page looks like this:
If I comment out the line where I include "grdContacts" as an UpdatedControl, everything works great. You can hit the Toolbar button which opens the modal, save the changes in it which automatically closes the window and calls the Javascript function on the parent page telling the AjaxManager to do a callback:
If the line is left uncommented (because the end result is that I will want to update the CheckboxList sometimes and the RadGrid other times) everything gets called as I would expect (I can see this when I debug), but the CheckboxList doesn't actually update itself.
Any thoughts?
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="cklProjects" /> |
<telerik:AjaxUpdatedControl ControlID="grdContacts" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
If I comment out the line where I include "grdContacts" as an UpdatedControl, everything works great. You can hit the Toolbar button which opens the modal, save the changes in it which automatically closes the window and calls the Javascript function on the parent page telling the AjaxManager to do a callback:
function __refreshProjectGrid(args) { |
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(args); |
} |
If the line is left uncommented (because the end result is that I will want to update the CheckboxList sometimes and the RadGrid other times) everything gets called as I would expect (I can see this when I debug), but the CheckboxList doesn't actually update itself.
Any thoughts?