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

Show-Duration = unlimited?

2 Answers 66 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Ludwig
Top achievements
Rank 1
Ludwig asked on 24 Jun 2015, 07:47 PM

Hello!

Is there a possibility to show alerts without show-duration - so the user have to close it manually?

thx

2 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 25 Jun 2015, 06:49 AM
Hi Ludwig,

The ShowDuration property is of type int, so you can set it to int.MaxValue in order to achieve the desired scenario:

var alert = new RadDesktopAlert { Content = "Content", ShowDuration = int.MaxValue };

Hope this helps.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ludwig
Top achievements
Rank 1
answered on 25 Jun 2015, 09:36 AM
thx very much!
Tags
DesktopAlert
Asked by
Ludwig
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Ludwig
Top achievements
Rank 1
Share this question
or