EXT.NET配置

1.下载EXT.dll文件
2. 配置web.config文件:
    (1)在<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>
     (2) 在<system.webServer>中添加以下信息:
           <modules>
<add name="DirectRequestModule" preCondition="managedHandler"  
                           type="Ext.Net.DirectRequestModule, Ext.Net"/>
           </modules>
           <handlers>
<remove name="ScriptModule"/><add name="DirectRequestModule" 
                           preCondition="managedHandler" type="Ext.Net.DirectRequestModule, 
                           Ext.Net"/>
           </handlers>
3.配置完成,在应用EXT控件的页面添加如下信息:
      <%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
4.如果以上操作都不能用的话,那么就直接到中添加dll文件,添加完工具后直接往页面上拖,config文件会自动更改。
5.现在就可以使用EXT控件了。嘿嘿。

你可能感兴趣的:(EXT.NET配置)