I am trying to use Ext.Net in MVC 4.
In razor engine i am trying with an example like this:
@{
Layout = "";
}
<!DOCTYPE html>
<html>
<head>
<title>Ext.NET Examples</title>
</head>
<body>
@Html.X().ResourceManager()
@(Html.X().TabPanel()
.Height(300)
.Items(items => {
items.Add(Html.X().Panel().Title("Test"));
}));
</body>
</html>
When i run i recieve this error in the browser:
CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'X' and no extension method 'X' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
Any ideas?