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

ajax panel inside LayoutColumn, not ajaxed

2 Answers 121 Views
PageLayout
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 19 Aug 2014, 10:20 PM
I am using the sticky footer example and also a master page.  I have added a asp:panel inside a LayoutColumn which is in a LayoutRow and that of course is inside a RadPageLayout.

I can manually add the button and the panel to the ajax manager but the loading panel is never fired.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ButtonContact">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="PanelContactForm" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Glow" MinDisplayTime="5000">
        </telerik:RadAjaxLoadingPanel>

If I try to use the ajax config wizard then neither the button or the panel are available to me. How can I reference them so they are ajax-ed? I have tried multiple combinations of the following as well.

protected void Page_Load(object sender, EventArgs e)
       {
           Panel PanelContactForm1 = (Panel)PageLayoutMaster.FindControl("PanelContactForm");
           Button ButtonContact1 = (Button)PanelContactForm1.FindControl("ButtonContact");
           RadAjaxManager1.AjaxSettings.AddAjaxSetting(ButtonContact1, PanelContactForm1);
       }

Thanks, Marty



2 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 24 Aug 2014, 06:44 AM
Hello.

I am not quite sure what exactly is happening. I created a very very simple page based on the description you provided. It works at my end. (Attached)

Can you test if it works at your side too?

Regards,
Ivan Zhekov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
moegal
Top achievements
Rank 1
answered on 25 Aug 2014, 10:33 PM
I had a div in my footer with a class that had position:absolute.

Once I removed that, the form started to work properly.
I did not realize something so simple could break ajax.

Thanks, Marty

Tags
PageLayout
Asked by
moegal
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
moegal
Top achievements
Rank 1
Share this question
or