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

Asp panel and notification

1 Answer 68 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 18 Feb 2013, 11:56 AM
Hello,
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">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="Panel3"
            LoadingPanelID="RadAjaxLoadingPanel1" />
    </UpdatedControls>
</telerik:AjaxSetting>
 
                                         <asp:Panel ID="Panel3" runat="server">
                                            <asp:ImageButton ID="ImageButtonAggiorna" runat="server" ImageUrl="~/Image/conferma.png" OnClientClick="ImageButtonAggiorna_Click" />
                                         </asp:Panel>



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



1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Feb 2013, 09:57 AM
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.
Tags
Notification
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or