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

Toast Notification Does Not Appear

2 Answers 440 Views
ToastNotificationManager
This is a migrated thread and some comments may be shown as answers.
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Martin Hamilton asked on 01 Apr 2021, 02:05 PM

Hi, I'm using the code sample from this page:
Handling Users Input | Toast Notification | Telerik UI for WinForms

But after clicking on button_Click() - nothing happens.  E.g., the Toast Notification does not appear.
    Private Sub button_Click(ByVal sender As Object, ByVal e As EventArgs)
        Me.radToastNotificationManager.ShowNotification(1)
    End Sub

I must be missing something?!

I'm running on Windows 10 if that makes a difference or not.

Do I need to change a setting in windows 10 somewhere for the notifications to appear?

 

 

2 Answers, 1 is accepted

Sort by
0
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 01 Apr 2021, 02:10 PM

Note: I did check my settings and notifications appear to be allowed

 

0
Nadya | Tech Support Engineer
Telerik team
answered on 01 Apr 2021, 02:57 PM

Hello, Martin,

If you want to show a toast notification at run time, e.g. when clicking a button, you should register the RadToastNotificationManager first. I suppose that you have already created the toast notification that you want to show via the RadToastNotifications Editor. More information about how to create and show toast notifications you can find here:
https://docs.telerik.com/devtools/winforms/controls/toast-notification/design-time 
https://docs.telerik.com/devtools/winforms/controls/toast-notification/getting-started 

I prepared a sample project for your reference. You can find it attached to this thread.

I hope this helps. Let me know if you have further questions.

Regards,
Nadya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ToastNotificationManager
Asked by
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Nadya | Tech Support Engineer
Telerik team
Share this question
or