This is a migrated thread and some comments may be shown as answers.

force refresh on control in master page

1 Answer 187 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 29 Sep 2010, 01:45 PM
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1"  runat="server" />
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server" >
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="txtSelectedValues" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

So I have the following setting in a user control.  Now in a master page, I have this control and another control (say control 2).  What I want is to update control 2 when the user control get a select index change event.  I can fire the event and set the control 2 but it does not refresh cause it is not listed in the updatedcontrol.  So my question is.
1) can controls from a master page be added to a list of updated controls in the user control.  If so, how
2) Is there a way to force the update (override the ajax setting) in the master page so that it recognizes the refresh of control 2.

Thanks for any help, suggestions.

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 01 Oct 2010, 01:54 PM
Hello John,

The desired functionality can be easily achieved by adding AjaxSettings programmatically.
You can find a sample project demonstrating how it works attached to this message.

I hope it helps.

Kind regards,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or