在ASP.Net MVC 4 中使用Spread asp.net 7.2控件: Hello MVC

本文通过一个“Hello World”的示例,手把手的说明如何把Spread 7.2 Asp.net控件应用在ASP.net MVC 4中。需要先明确的是,在MVC 4下,无法再进行类如ASP webForm拖拽控件了,而是需要如下步骤添加:Step1: 添加FarPoint.Mvc.Spread.dll引用Step2:添加Licenses.licxStep3: 修改Global.asax.cs文件Step4:修改Views\Home\Index.cshtml文件-添加控件Step5:在Controller中添加MvcSpreadEvent