no run radajaxloadingpanel

4 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 10 Dec 2012 Link to this post

    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()




  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 13 Dec 2012 Link to this post

    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.
  3. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 13 Dec 2012 Link to this post

    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


  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 18 Dec 2012 Link to this post

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