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

Notification() not defined

3 Answers 180 Views
Notification
This is a migrated thread and some comments may be shown as answers.
GCS
Top achievements
Rank 1
GCS asked on 16 Jun 2014, 04:33 AM
I am trying to use the Notification control. However, when attempting to use it, the following compiler error is thrown: 

 CS1061: 'Kendo.Mvc.UI.Fluent.WidgetFactory<dynamic>' does not contain a definition for 'Notification' and no extension method 'Notification' accepting a first argument of type 'Kendo.Mvc.UI.Fluent.WidgetFactory<dynamic>' could be found (are you missing a using directive or an assembly reference?)

I believe I am using all the correct Kendo libraries. 

My declaration is as follows: 

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


I am using the following scripts and css files: 

<link href="@Url.Content("~/Content/bootstrap.css")" rel="stylesheet" type="text/css" /><br><link href="@Url.Content("~/Content/kendo/2014.1.416/kendo.common.min.css")" rel="stylesheet" type="text/css" /><br>    <link href="@Url.Content("~/Content/kendo/2014.1.416/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" /><br> <link href="@Url.Content("~/Content/kendo/2014.1.416/kendo.default.min.css")" rel="stylesheet" type="text/css" /><br> <link href="@Url.Content("~/Content/kendo/2014.1.416/kendo.dataviz.default.min.css")" rel="stylesheet" type="text/css" /><br><script src="@Url.Content("~/Scripts/kendo/2014.1.416/jquery.min.js")"></script><br><script src="@Url.Content("~/Scripts/kendo/2014.1.416/kendo.all.min.js")"></script><br><script src="@Url.Content("~/Scripts/kendo/2014.1.416/kendo.aspnetmvc.min.js")"></script><br><script src="@Url.Content("~/scripts/kendo.modernizr.custom.js")"></script><br><script src="@Url.Content("~/Scripts/kendo.web.ext.js")"></script><br><link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />


Any ideas? Thank you. 




3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 16 Jun 2014, 11:18 AM
Hello Dave,

Most probably you have not updated the Kendo.MVC.dll file in your project. Please remove the old one and include the one  that matches your scripts version.

If the problem still persists please provide us with a runnable sample, so we can reproduce the issue and advise you further.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
GCS
Top achievements
Rank 1
answered on 16 Jun 2014, 02:19 PM
that was it, thank you! 
0
Kiril Nikolov
Telerik team
answered on 17 Jun 2014, 06:17 AM
Hi Dave,

I am glad to hear that the problem is resolved.

In case you have any further questions, please do not hesitate.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Notification
Asked by
GCS
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
GCS
Top achievements
Rank 1
Share this question
or