RadAjaxManager with RadPageLayout

4 posts, 0 answers
  1. Simon Maystre
    Simon Maystre avatar
    22 posts
    Member since:
    Aug 2012

    Posted 14 Oct Link to this post

    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?

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1796 posts

    Posted 18 Oct Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Simon Maystre
    Simon Maystre avatar
    22 posts
    Member since:
    Aug 2012

    Posted 19 Oct in reply to Konstantin Dikov Link to this post

    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?
  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1796 posts

    Posted 24 Oct Link to this post

    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.
Back to Top