FineUIt配置

来源:互联网 发布:淘宝售假扣2分多久清零 编辑:程序博客网 时间:2024/06/06 15:10
1.需要packages,extjs,res文件2.添加引用FineUI.dll和Newtonsoft.dll(根据自己框架添加)<?xml version="1.0" encoding="utf-8"?> <configuration>   <configSections>     <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />   </configSections>   <!-- 可用的配置项(这里列的都是默认值):       Language="zh_CN"       AjaxTimeout="120"       EnableAjax="true"       Theme="Neptune"       FormMessageTarget="Qtip"       FormOffsetRight="0"       FormLabelWidth="100"       FormLabelSeparator=":"       IconBasePath="~/res/icon"       EnableAjaxLoading="true"       AjaxLoadingType="default"       CustomTheme=""       CustomThemeBasePath="~/res/theme"   -->   <FineUI DebugMode="false" />   <appSettings />   <connectionStrings />   <system.web>     <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">       <controls>         <add assembly="FineUI" namespace="FineUI" tagPrefix="f" />       </controls>     </pages>     <httpModules>       <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />     </httpModules>     <httpHandlers>       <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false" />     </httpHandlers>     <httpRuntime maxRequestLength="102400 " />     <customErrors mode="Off" />     <compilation debug="true" targetFramework="4.0" />     <!--     <authentication mode="Forms">       <forms name=".ASPXFORMSAUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/"/>     </authentication>     <authorization>       <deny users="?"/>     </authorization>     -->   </system.web>   <!--   <location path="res.axd">     <system.web>       <authorization>         <allow users ="*" />       </authorization>     </system.web>   </location>   -->   <!-- IIS7集成管道模式 -->   <system.webServer>     <modules>       <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>     </modules>     <handlers>       <add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI"/>     </handlers>     <httpErrors errorMode="Detailed"/>     <asp scriptErrorSentToBrowser="true"/>     <validation validateIntegratedModeConfiguration="false"/>   </system.webServer>   <runtime>     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">       <dependentAssembly>         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />       </dependentAssembly>     </assemblyBinding>   </runtime> </configuration>   


 

0 0
原创粉丝点击