Telerik Forums
UI for WinForms Forum
2 answers
68 views

Hi,

How can I show RadDesktopAlert always on active screen?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2023
4 answers
327 views
I have a thread that connects to a service. All is well there. I am able to show MessageBox and forms from it.

The problem occurs when I try to plug in the desktopalert to show a message instead of using a form or MessageBox.  I get a black box down next to my task manager and if I click it I get an non response message fom windows.

How can I show an alert from a thread which isn't the main thread? I do not want to use backgroundworker and my component doesn't have Invoke() available.

Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 updated answer on 12 Jan 2023
1 answer
97 views

Hello,

I have problem wit DesktopAlert control. We use it as notification popup and it works great. I can close on click all popups until I create new modal form on top of current form. Then I can close only newly created alerts, but old alerts stay there and cant be closed until modal form is closed. Is there solution to make closable all alerts at all time? Problem is that alerts can obfuscate UI of new modal form and I cant then close this form and there is no solution.

Here is sample project which simulate this problem.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Dec 2021
1 answer
98 views

Greetings,

There seems to be an issue with the RadDesktopAlert on Windows 7.

The code below illustrates  how I create an instance of RadDesktopAlert  and setting its properties to my desired values :


Dim dskAlert As New RadDesktopAlert

Sub ShowAlert()

        dskAlert.ResetLocationModifier()
        dskAlert.IsPinned = True
        dskAlert.AutoClose = False
        dskAlert.CanMove = True
        dskAlert.Opacity = 1
        dskAlert.Popup.Parent = ME
        dskAlert.ThemeName = "VisualStudio2012Light"
        dskAlert.FadeAnimationFrames = 10
        dskAlert.FadeAnimationType = FadeAnimationType.FadeIn
        dskAlert.PopupAnimationFrames = 20
        dskAlert.PopupAnimationEasing = Telerik.WinControls.RadEasingType.InOutCubic
        dskAlert.PopupAnimationDirection = RadDirection.Down
        dskAlert.ShowCloseButton = True
        dskAlert.ContentText = "This is a test"
        dskAlert.RightToLeft = System.Windows.Forms.RightToLeft.No
        dskAlert.ScreenPosition = Telerik.WinControls.UI.AlertScreenPosition.Manual
        dskAlert.ShowOptionsButton = False
        dskAlert.ShowPinButton = False
        dskAlert.PlaySound = False
        dskAlert.AutoSize = True
        dskAlert.Popup.AlertElement.Font = New Font("Tahoma", 10, FontStyle.Regular)
        dskAlert.Popup.AlertElement.ContentElement.TextAlignment = ContentAlignment.MiddleCenter
        dskAlert.Popup.AlertElement.ForeColor = Color.Red
        dskAlert.Popup.AlertElement.ContentElement.Font = New Font("Tahoma", 10, FontStyle.Regular)
        AddHandler dskAlert.Popup.PopupOpening, AddressOf dskAlert_PopupOpening
        dskAlert.Show()

End Sub

  Private Sub dskAlert_PopupOpening(sender As Object, args As CancelEventArgs)
        Dim arg = TryCast(args, RadPopupOpeningEventArgs)
        arg.CustomLocation = New Point((Me.Width - dskAlert.Popup.Width) \ 2,
                         (Me.Height - dskAlert.Popup.Height) \ 2)
  End Sub

It works fine on my Windows 8.1, however, the RadDesktopAlert box doesn't show up on Windows 7 as I tested many times. After several attempts to find out what causes the issue, I found the code line below to be the cause :

dskAlert.Popup.Parent = ME

It seems that setting parent property of the popup property makes the popup box invisible. I preferred to write "INVISIBLE", because there seems to be an invisible from showing up in front of the main form and this makes all the controls of the main form UnClickable.

What's your opinion about this issue ?

 

 

 

Stoyan
Telerik team
 answered on 06 Jul 2021
8 answers
360 views
Hi,

I would like to know whether anyone else is facing the same issue like mine.

I'm using RadDesktopAlert on Visual Studio 2008 (C#), and I never set any button to trigger the desktop alert. 

I'm calling it whenever I want to display the alert.

I leave the FixedSize value to its default 0, 0 (which should resize automatically according to the content text set.

However, I noticed that's not the case, they will always put in the text to fit the "fixed" size, after that, the remaining text exceeded the alert window size would be replaced with "..." at the bottom of the displayed text.

May I know whether this is a bug or some settings issue?

Thank you.

Regards,
Jenson
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2021
3 answers
100 views

I notice default RadDesktopAlert  backcolor is transparent, when I move mouse it change to solid color without transparent, please let me know if this is possible to remove its transparent backcolor property?

Thanks,
Shakti

Shanti 😎
Top achievements
Rank 2
Veteran
 answered on 17 Mar 2021
1 answer
73 views

Hi,

I want to call DesktopAlert as ShowDialog instead of show. if any solution available ?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Mar 2021
1 answer
178 views

Please provide a basic example (or a link to) of how to use the DesktopAlertManager.

I want to be able to display multiple alerts and stack them if they appear at the same time.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Feb 2021
1 answer
173 views

Dear Admins,

I want to Show the Desktop alert specific position on the screen

Like I have a Parent Form which covers the full screen. A Child form is Called from the Parent as ShowDialog.

The requirement is to Display the Alert on the Location of Child Form (Bellow the Tittle Bar of Child Form). the width of Alert will be Equal to the Width of Form.

 

How can i achieve this behavior.

Dimitar
Telerik team
 answered on 24 Sep 2019
5 answers
242 views

Hello,

Hello,
Is there a way to set font style; size, font family (with html option or another way) of Caption Text and ContentText?

Kind regards...

Dimitar
Telerik team
 answered on 18 Feb 2019
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
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?