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

Disable Ajax Loading on Postback

3 Answers 133 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 30 Mar 2012, 03:26 PM
Hello,

I have a raddate control in a radajaxpanel. I would like the raddate postback=true but I do not wish to have two ajax loading animations during postback. I would like to disable the raddate control loading panel and let the ajaxpanel display the loading animation. It seems simple but I can't seem to figure it out and the terms I'm using on Google don't provide any clues.

TIA
JB

Oh Yeah version 2012.1.301.40
I suppose some code just in case it isn't clear:
<td style="width:300px;height:500px;"> <!--This cell holds the invoice date selection control-->
     <telerik:RadAjaxPanel ID="ajxpnl_InvDate" runat="server" LoadingPanelID="InvDateLoadPanel">
          Invoice Date <telerik:RadDatePicker ID="rdt_InvDate" runat="server" Skin="Hay" AutoPostBack="true" ShowPopupOnFocus="true" OnSelectedDateChanged="selected" />
    </telerik:RadAjaxPanel>
</td>

3 Answers, 1 is accepted

Sort by
0
SamJ
Top achievements
Rank 1
answered on 30 Mar 2012, 08:30 PM
Hi John,

RadDatePicker does not have it's own loading panel. If you are using only the RadAjaxPanel available in the snippet to ajaxify the picker, there is now way to see two loading panels. Is it possible that you added a RadAjaxManager on the page as well?
Because it is not recommended to use more that one ajax controls (RadAjaxManager, RadAjaxPanel, UpdatePanel) to ajaxify the same page content. You can check this article or post the whole page so I can give you specific guidelines.

SamJ
0
Ramjet
Top achievements
Rank 1
answered on 30 Mar 2012, 09:55 PM
Well there is my confusion. I did have an AjaxMgr and an Ajaxpanel. The AjaxMgr is covering just the control while the panel is of course getting everything in the panel....which is what I really want to happen when a date is selected. So let me ask you this.

I was going to have 4 sections. Not all impact the others but when the date is changed it does impact all 4. So is my best approach to keep the AjaxMgr so I can fire other loading panels when the date is selected and put the controls on a regular ASP panel?
0
SamJ
Top achievements
Rank 1
answered on 31 Mar 2012, 08:38 AM
Yes, replacing the RadAjaxPanels with ASP:Panels would be better.
If you can share the full page code, as it is now with the RadAjaxManager and the RadAjaxPanels I can help you fix the issue best way.
I've been using RadAjax for long time.

SamJ
Tags
Calendar
Asked by
Ramjet
Top achievements
Rank 1
Answers by
SamJ
Top achievements
Rank 1
Ramjet
Top achievements
Rank 1
Share this question
or