Asp panel and notification

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

    Posted 18 Feb 2013 Link to this post

    I have a asp panel and inside a table with fields telerik. I run with a button to save data in the database and then opens a radnotification to alert the user to the notification. But radnotification not see, if I remove radajaxloadingpanel then it works, why?

    code aspx:

    <telerik:AjaxSetting AjaxControlID="ImageButtonAggiorna">
            <telerik:AjaxUpdatedControl ControlID="Panel3"
                LoadingPanelID="RadAjaxLoadingPanel1" />
                                             <asp:Panel ID="Panel3" runat="server">
                                                <asp:ImageButton ID="ImageButtonAggiorna" runat="server" ImageUrl="~/Image/conferma.png" OnClientClick="ImageButtonAggiorna_Click" />

    code behind:

    Private Sub ImageButtonAggiorna_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonAggiorna.Click
        Me.RadNotification1.Show("Servizio non disponibile, effettuare la registrazione.")
         End Sub

  2. Marin Bratanov
    Marin Bratanov avatar
    4441 posts

    Posted 19 Feb 2013 Link to this post

    Hello Fabio,

    There isn't a reason for this behavior directly in the controls and in the snippets you have posted. I even tried things out in a simple page and it works as expected with me. What I can advise at this point is that you make sure there aren't JavaScript errors on the page - they can either prevent the notification from showing at all, or the RadAjaxLoadingPanel from hiding (and it has a hight z-index than the notification - 90 000 by default vs 10 000 for the notification, which is listed here). You can override the control's CSS to see if this is the case. I also advise that you compare your actual case with my test page and find the differences that are causing the problem. You can then use my sample as base to get the functionality working in your page.

    All the best,
    Marin Bratanov
    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