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

MVC5 app - kendoNotification is not a function

2 Answers 549 Views
Notification
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 08 Jan 2016, 08:25 PM

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?

 

 

 

2 Answers, 1 is accepted

Sort by
0
BitShift
Top achievements
Rank 1
Veteran
answered on 08 Jan 2016, 08:32 PM

I can put on a calendar widget with no issue, but just not the Notification....not sure why unless something isnt binding correctly, or the widget is getting interfered with somehow.  However, its as if it cant even be instantiated?

eg.  this works as expected. 

@(Html.Kendo().DatePicker().Name("datepicker"))

but not this
@(Html.Kendo().Notification() .Name("popupNotification") )

 

0
BitShift
Top achievements
Rank 1
Veteran
answered on 08 Jan 2016, 09:24 PM
looks like I was using a version that was almost 2 years old.  Upgrading the latest version solved it
Tags
Notification
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
BitShift
Top achievements
Rank 1
Veteran
Share this question
or