一、需要的准备工具:
1Ext.Net.dll2Ext.Net.Utilities.dll
3Ext.Net.xml
4Newtonsoft.Json.dll
5Newtonsoft.Json.xml
二、从那里获取ext.net
可以从下面的网站:
也可以从下面这个网站直接下载ext.net.dll:
三、打开 Visual Studio2010,创建新项目,”asp.net.web应用程序“,点击确定。
四、首次使用时
在工具箱中右键点击"添加选项卡"
选项卡名称Ext,
在该选项卡中,右键点击“选择项”
弹出"选择箱项"对话框,点击“浏览” ,双击选择下载文件目录下的"Ext.Net.dll"
点击“确定”,将在Ext选项卡中出现多个控件
五.配置Web.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false"/>
<configSections>
<extnet />
<!--
The following system.web section is only requitedfor running ASP.NET AJAX under Internet
Information Services 6.0 (or earlier). This sectionis not necessaryfor IIS 7.0 or later.
-->
<system.web>
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
</httpHandlers>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</httpModules>
</system.web>
<!--
The system.webServer section is requiredfor running ASP.NET AJAX under Internet Information Services7.0.
It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net" />
</modules>
<handlers>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
</handlers>
</system.webServer>
</configuration>
六.打开default.aspx。顶部添加:<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
七.页面<form>中添加: