Telerik Forums
Kendo UI for jQuery Forum
6 answers
401 views

I'm trying to add a little margin between stacked notifications to visually better separate individual notifications, however, I can't get the css right.

All demo's of stacked notifications has zero margin.

Do you have any suggestions?

Morten
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 30 Aug 2018
2 answers
202 views

I'd like to be able to float a notification top right.

I have looked at http://dojo.telerik.com/inAma, but I would hope something super-common like this would look something like:

   kendo.notification('my message', TOP-RIGHT);

thanks!

[Note: the default of bottom right is not useful, that is not prominent enough]

Gerry
Top achievements
Rank 1
Veteran
 answered on 02 Jun 2017
3 answers
339 views

Hi!

It seems like the popup notifications overlap and the last word of short notification texts slips to the next line, when I limit their max-width and set the font-size in pt units.

Here is a demonstration of the bug (don't forget to make the browser window narrow first, so that longer notification texts need get wrapped automatically): http://dojo.telerik.com/iwiXE/13

When you change the font-size units to px, then the popup notifications work as expected. So it seems like the notification widget has a problem with font-size set in pt units. Or maybe I have to set the max-width in a different way?

 

What font-size and div size units are recommended generally when I want to create responsible web apps with Kendo UI? I am using vw and vh units for divs.

 

Best regards,

Kaan

Dimitar
Telerik team
 answered on 31 May 2017
1 answer
79 views

Hi!

It seems like the space between the notification icon and the notification message differs between different notification types:

I have prepared an example. Just press a few times on the "As a popup on bottom-right" button to see the different spacings: http://dojo.telerik.com/Awuli/2

Only the template for the warning notification seems to have the right spacing.

 

Best regads,

Kaan

Ivan Danchev
Telerik team
 answered on 10 May 2017
4 answers
130 views

Hi,
I recently noticed a bug with the widget of notifications. If you show a centered notification and when is fading you show another one, the second one isn't centered but on the bottom right corner.

You can check this behaviour on the next link:
http://demos.telerik.com/kendo-ui/notification/position-stacking
Click "show centered notification" and when the notification starts to fade away, click again.

I started to notice this behaviour when I updated my kendo version recently. Now i'm using kendo version 2016.1.226.

Thanks.

Ianko
Telerik team
 answered on 22 Dec 2016
3 answers
458 views

hi i am trying to use Notification . 

And i am following same steps as shown in Demo. i put following code in show Event . But event is either not firing or function is not being called. I want to call Show event to get the notification centered.

 

function onShow(e) {
     alert ("in loop");
   var element = e.element.parent(),
                            eWidth = element.width(),
                            eHeight = element.height(),
                            wWidth = $(window).width(),
                            wHeight = $(window).height(),
                            newTop, newLeft;
                        
                        newLeft = Math.floor(wWidth / 2 - eWidth / 2);
                        newTop = Math.floor(wHeight / 2 - eHeight / 2);

                        e.element.parent().css({top: newTop, left: newLeft});
}   

   var centered = $("#notification").kendoNotification({
                        stacking: "down",
                        show: onShow,
                        button: true
                    }).data("kendoNotification");

  var notification = $("#notification").kendoNotification().data("kendoNotification");
                        notification.show("Assessment Saved successfully");
  });
</scri

 

following is the Dojo link.

http://dojo.telerik.com/idEHE/5

 

Please help. 

 

thanks,

 

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 30 Nov 2016
1 answer
225 views

In BlueOpal theme Error text message is not visible, because blue color text on red background, can not be read. (Set theme BlueOpal and click first button)

.k-widget.k-notification.k-notification-error {
    background-color: #db4240;
    color: #0099d9;
    border-color: #c32725;
}

Iliana Dyankova
Telerik team
 answered on 21 Sep 2016
1 answer
67 views
Is it possible to connect Kendo notifications to browser notifications?
Ianko
Telerik team
 answered on 12 Jul 2016
2 answers
490 views

I have a MVC razor view that I want to define a notification on 

@(Html.Kendo().Notification() .Name("popupNotification") )

Just starting at this point, I get an error such as

Uncaught TypeError: jQuery(...).kendoNotification is not a function

There are other kendo widgets on the page (grid etc), they work as expected and the layout template is referencing the 2013.3.1324/kendo.all.min.js library.

Whats the deal with notification?

 

 

 
BitShift
Top achievements
Rank 1
Veteran
 answered on 08 Jan 2016
1 answer
52 views

We lost a lot of time trying to use the notification widget by following that code sample: 
http://docs.telerik.com/kendo-ui/api/javascript/ui/notification#methods-show

But it's not working.
That configuration:  
{templates: { myAlert: "<div>System alert: #= myMessage #</div>"}}

should be: 
{templates: [
   { type: "myAlert", template: "<div>System alert: #= myMessage #</div>"}
]
}

The "open in dojo" link should display something like that: 
http://dojo.telerik.com/ufumo
Plamen
Telerik team
 answered on 01 Dec 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?