Hi,
How can I show RadDesktopAlert always on active screen?
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.
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 ?
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
Hi,
I want to call DesktopAlert as ShowDialog instead of show. if any solution available ?
Thanks
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.
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.
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...