Hi,
is it possible to add a hidden input in a toast notification xml, like the one in html?
something like: "<input id=\"AnswerTo\" title=\"Rispondi a...\" defaultInput=\"" + _sender + "\" type=\"text OR hidden\" visible=\"none OR false\">"
The goal I want to achieve is to pass text variables within the ToastNotification preventing editation from the user...
Thank you
I'm just starting with the toast manager and notifications so I apologize if this is way off base. =)
I'm simply trying to dynamically create a new notification, based off of a template I created at design time, called "myRestart". This template is just a slightly modified News template (meaning, I've only changed some text in it really).
Dim toastNotification As RadToastNotification = toastManager.ToastNotifications("myRestart")
toastNotification.Name = "someRandomStuff12435176"
toastManager.ToastNotifications.Add(toastNotification)
When the final line of code above is run to add the notification to the manager, I get the error:
Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException: 'RadToastNotification: Name must be unqiue.'
I'm not sure what name it would be referring to other than the name property, which as you can see above I changed to some random text and still get the error.
Thank you for any help you can provide!
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?
Hello,
I just recently discovered that this tool was added to the Telerik win UI toolbox and love the functionality. Within the editor it is possible to assign a launch argument value. However, after reviewing the documentation I'm not entirely sure how to go about referencing that argument within the toast template, as well as passing in the value for that argument at run time.
I've attached a screenshot of what I'm trying to accomplish within the toast notification editor. Two questions:
1) What's the correct syntax to reference the launch argument variable value within the toast notification editor?
2) Is there a method to assign the variable value prior to calling the .ShowToastNotification(index) method?
Thanks!