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

Display list of messages

2 Answers 16 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 02 Sep 2019, 03:49 AM

Hi,

I'm trying to use DesktopAlert to display a list of messages. This would only ever be a short list (1 to 3 messages).

I'm aware that I can attach the list to the Content property, and that if I do this, I must provide a custom ContentTemplate to display the list, but I'm not clear how to do this.

Wayne

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 03 Sep 2019, 08:59 AM

Hello Wayne,

I've attached a small example showing how to do this. Basically, you can use the Content and ContentTemplate properties of RadDesktopAlert. You can set a DataTemplate in code using several approaches which are described in the help documentation.

Can you please give the attached project a try and let me know if it helps?

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
n/a
Top achievements
Rank 1
answered on 11 Sep 2019, 03:43 AM

That did indeed help, thanks.

Wayne

Tags
DesktopAlert
Asked by
n/a
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
n/a
Top achievements
Rank 1
Share this question
or