1 <configuration> 2 <configSections> 3 <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" /> 4 </configSections> 5 <!-- 可用的配置项(这里列的都是默认值): 6 Language="zh_CN" 7 AjaxTimeout="120" 8 EnableAjax="true" 9 Theme="Neptune" 10 FormMessageTarget="Qtip" 11 FormOffsetRight="0" 12 FormLabelWidth="100" 13 FormLabelSeparator=":" 14 IconBasePath="~/res/icon" 15 EnableAjaxLoading="true" 16 AjaxLoadingType="default" 17 CustomTheme="" 18 CustomThemeBasePath="~/res/theme" 19 --> 20 <FineUI DebugMode="false" /> 21 <appSettings /> 22 <connectionStrings /> 23 <system.web> 24 <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"> 25 <controls> 26 <add assembly="FineUI" namespace="FineUI" tagPrefix="f" /> 27 </controls> 28 </pages> 29 30 <httpRuntime maxRequestLength="102400 " /> 31 <customErrors mode="Off" /> 32 <compilation debug="true" targetFramework="4.5" /> 33 <!-- 34 <authentication mode="Forms"> 35 <forms name=".ASPXFORMSAUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/"/> 36 </authentication> 37 <authorization> 38 <deny users="?"/> 39 </authorization> 40 --> 41 </system.web> 42 <!-- 43 <location path="res.axd"> 44 <system.web> 45 <authorization> 46 <allow users ="*" /> 47 </authorization> 48 </system.web> 49 </location> 50 --> 51 52 <system.webServer> 53 <modules> 54 <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/> 55 </modules> 56 <handlers> 57 <add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI"/> 58 </handlers> 59 </system.webServer> 60 61 </configuration>