0
我想知道是否可以使用devexpress元素的partialview在Extjs面板中正常工作。到目前爲止,我設法將partialview加載到Extjs面板中。所有devexpress控件都以適當的方式呈現,但似乎devexpress的整個客戶端功能已消失 - 對懸停,點擊等沒有反應。以下是我的代碼如何使用devexpress元素正確加載partialview到extjs面板
//loading partialView
Ext.getCmp('centerPanel').body.load({ url: 'Home/TempView',scripts:true})
//controller
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
return View();
}
public PartialViewResult TempView()
{
return PartialView();
}
}
//TempView
<div>
@Html.Partial("ToolBarView");
</div>
//ToolBarView
@using DevExpress.Web.Mvc.UI
@Html.DevExpress().ReportToolbar(settings => {
// The following settings are necessary for a Report Toolbar.
settings.Name = "ReportToolbar";
settings.ReportViewerName = "reportViewer1";
}).GetHtml()
有沒有什麼辦法讓它工作? 這裏是我的應用程序 http://www.sendspace.pl/file/591cd7a07e43f15a22759b2