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

Wrap notifications content without templates

2 Answers 587 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Pieter
Top achievements
Rank 1
Pieter asked on 01 Jun 2016, 11:41 AM

Hi,

Is it possible to wrap the content (basically just a long line of text) of a notification without using templates?

Regards,
Pieter

2 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 03 Jun 2016, 07:13 AM

Hello Pieter,

The content shown in the Notification widget is not HTML encoded, so you could add the styles required in the provided parameter. Here is a sample implementation

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Lawrence
Top achievements
Rank 2
Iron
answered on 19 Sep 2018, 01:05 PM

I made some tweaks to Pieter's example, so that the text wraps along side of the notification image, not below.

Here's the code...

Tags
Notification
Asked by
Pieter
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Lawrence
Top achievements
Rank 2
Iron
Share this question
or