This question is locked. New answers and comments are not allowed.
Hi,
I've some trouble using any asp.net MVC 3 components in my views.
When I try, I got this kind of exception :
I'm only trying to display this:
In one view of one of my area.
What is going wrong?
I've also one instruction in the layout(for script/css registration), which doesn't seems to make any trouble.
Is this a problem with area?
I've some trouble using any asp.net MVC 3 components in my views.
When I try, I got this kind of exception :
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<VVVV.XXX.YYY.WWW.ZZZ.Areas.Advertiser.Models.AdsListModel>' does not contain a definition for 'Telerik' and no extension method 'Telerik' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<VVVV.XXX.YYY.WWW.ZZZ.Areas.Advertiser.Models.AdsListModel>' could be found (are you missing a using directive or an assembly reference?)I'm only trying to display this:
@(Html.Telerik().PanelBar() .Name("PanelBar") .Items(items => { items.Add().Text("Item 1"); items.Add().Text("Item 2") .Items(subItems => { subItems.Add().Text("Sub Item 1"); subItems.Add().Text("Sub Item 2"); subItems.Add().Text("Sub Item 3"); }); }) .Render())In one view of one of my area.
What is going wrong?
I've also one instruction in the layout(for script/css registration), which doesn't seems to make any trouble.
Is this a problem with area?