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

no run radajaxloadingpanel

3 Answers 65 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 10 Dec 2012, 06:57 PM
Hi guys,
I have a master page and a radajaxpanel radajaxloadingpanel ... from a button I open a second aspx page that loads records from a SQL database server. Because just when I open the second page, the master page the radajaxloading starts, but the animated gif is not moving. This with Internet Explorer 9 instead if I start with google chrome the animated gif works
this my code that call the second page:
Protected Sub ImageButtonRicerca_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonRicerca.Click
 
Response.Redirect("Resultsearch.aspx?_str1=" & Txt_ricerca1.Text & "&_str2=" & Txt_ricerca2.Text)
 
End Sub

while this is the code of the second page:

Dim lista As List(Of PropertyUtente) = Loadsearch.Search(_str1, _str2)
RadListView1.DataSource = lista
RadListView1.DataBind()




3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 13 Dec 2012, 11:29 AM
Hi Fabio,

Please note that when Response.Redirect is performed the page is just redirected to another one and no server request is invoked in this case. So you do not have an ajax request to show a LoadingPanel in this case. therefore the presented behaviour is expected.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Fabio Cirillo
Top achievements
Rank 1
answered on 13 Dec 2012, 01:22 PM
hi,
but into google chrome in the loading panel works.

my code asp is:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ImageButtonRicerca">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1"
LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>

and with this code when i start the redirect into master page you see the loadingpanel that works instead in internet explorer 9 you can see forever, but the gif is still waiting


0
Maria Ilieva
Telerik team
answered on 18 Dec 2012, 11:48 AM
Hi Fabio,

In the provided RadAjaxManager declaration I noticed that the UpdatedControl is "RadAjaxPanel1". If this is RadAjaxPanel control please note that adding RadAjaxPanel into the RadAjaxManager settings or use the both controls for updating the same part of the page is not a supported scenario and may lead to various issues. Please suggest using regular asp Panel instead of RadAjaxPanel and verify how it goes.

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Fabio Cirillo
Top achievements
Rank 1
Share this question
or