Telerik Forums
UI for WinForms Forum
2 answers
71 views

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

Alessandro
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 19 Jan 2024
1 answer
145 views
OR Change icon,,, Change text,,, 
Dinko | Tech Support Engineer
Telerik team
 answered on 18 Feb 2022
1 answer
141 views

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!

Stoyan
Telerik team
 answered on 17 Jan 2022
2 answers
525 views

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?

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 01 Apr 2021
2 answers
141 views

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!

Eric
Top achievements
Rank 1
 answered on 16 Mar 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+128 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?