我想扩展ext.net calendarPanel。我是这样做的
public class ExtCalendarPanel : CalendarPanel
{
....
}当我像这样在我的页面中使用它时
Html.X().Panel()
.ID("Panel1")
.Title("...")
.Layout("border")
.Region(Region.Center)
.Cls("app-center")
.Items(
(new Ext.Net.MVC.Examples.Areas.Calendar_Overview.Controllers.ExtCalendarPanel())
.ToBuilder()
.ID("CalendarPanel1")
...
...);我得到一个错误
CS0234: The type or namespace name 'ExtCalendarPanel' does not exist in the namespace 'Ext.Net.MVC.Examples.Areas.Calendar_Overview.Controllers' (are you missing an assembly reference?)我是ext.net新手,有人能告诉我我错过了什么吗?
发布于 2014-05-20 15:21:34
有一个how to create Razor MVC helpers for custom Ext.NET controls指南。
https://stackoverflow.com/questions/23558252
复制相似问题