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

user control

1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
dino asked on 29 Jul 2010, 12:28 AM
I have custom user control that contains a radgrid.
I have placed the user control inside page1.aspx.
I want the radgrid to show the loading effect when it changed to insert mode or edit mode.
I would do it like that:

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                <telerik:AjaxUpdatedControl ControlID="RadInputManager1" />
                <telerik:AjaxUpdatedControl ControlID="ReportBox1" />
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Outlook" />

The problem is that i cannot have access to the radgrid inside the user control from page1.aspx, plus there is only one radajaxmanager allowed per page so i cannot include one in the user control.

Does anyone knows if there is a way to resolve this?
Thanks in advance!

1 Answer, 1 is accepted

Sort by
Maria Ilieva
Telerik team
answered on 02 Aug 2010, 03:57 PM
Hi dino,

I would suggest you to get reference of the RadAjaxMnager from the content page in the UserControl and add the Ajax settings dynamically.. Please refer to the following help topics which elaborate on similar to your scenarios:

Best wishes,
Maria Ilieva
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
Asked by
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question