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

RadAjaxManager with RadPageLayout

3 Answers 164 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Simon Maystre
Top achievements
Rank 1
Simon Maystre asked on 14 Oct 2016, 11:03 AM

We have controls within a RadPageLayout control that we would like to add into RadAjaxManager individually but the UI in VS does not show any of the controls within the RadPageLayout control.

So the only option seems to be a full refresh of the whole RadPageLayout control. Is there any way to manage the controls within the RadPageLayout at all?

3 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 19 Oct 2016, 04:48 AM
Hi Simon,

Here is a simple example for enabling AJAX for nested controls in the RadPageLayout:
<telerik:RadAjaxManager runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadButton1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadPageLayout runat="server">
    <Rows>
        <telerik:LayoutRow >
            <Content>
                <telerik:RadButton runat="server" ID="RadButton1" Text="Update panel"></telerik:RadButton>
                <asp:Panel runat="server" ID="Panel1">
                    <asp:Label ID="Label1" runat="server" />
                </asp:Panel>
            </Content>
        </telerik:LayoutRow>
    </Rows>
</telerik:RadPageLayout>

However, if the content is dynamically created, you should use the approach demonstrated in the following help topic:
Hope this helps.


Regards,
Konstantin Dikov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Simon Maystre
Top achievements
Rank 1
answered on 19 Oct 2016, 08:51 AM
Thanks for confirming this can be done. Is it just in the VS UI that the Ajax settings cannot be managed when inside a RadPageLayout?
0
Konstantin Dikov
Telerik team
answered on 24 Oct 2016, 06:47 AM
Hello Simon,

If you are referring to the "Ajax Settings Configuration Wizard", if you have a markup similar to the one in my last post, the controls within the RadPageLayout iwll be visible in the wizard. 

If you have something different in mind, please provide some additional information on the exact scenario that you have.


Regards,
Konstantin Dikov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Ajax
Asked by
Simon Maystre
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Simon Maystre
Top achievements
Rank 1
Share this question
or