我已经创建了一个DevEx preSS Web项目(.NET)和向导挑一个主题。我现在有一些大小问题,主题和无法弄清楚如何改变这一主题,而无需创建一个新的项目,并再次经过向导,然后复制我的code到新项目。
I've created a DevExpress Web project (.NET) and picked a theme in the wizard. I'm now having some sizing issues with the theme and can't figure out how to change the theme without creating a new project and going through the wizard again, and then copying my code to the new project.
我假设有一个设置的地方,我失踪。有人能指出我朝着正确的方向?
I'm assuming there's a setting somewhere that I'm missing. Can someone point me in the right direction?
推荐答案来源:项目向导文档
在选择主题选项卡允许您指定一个主题被应用到你的网站。您可以使用 或从DLL文件中添加自定义主题可用的主题。
The Choose Theme tab allows you to specify a theme to be applied to your site. You can use Available Themes or add a custom theme from a dll file.
选定的主题指定devEx preSS配置节的主题设置。
The selected theme specifies the theme settings of the devExpress configuration section.
ASPX 的
<devExpress> <themes enableThemesAssembly="true" styleSheetTheme="" theme="Aqua" /> ... </devExpress>
来源: Web应用程序模板
- 在模板注册devEx preSS元素,并使用默认设置到Web.config文件中添加它。
ASPX 的
<configSections> <sectionGroup name="devExpress"> <section name="themes" type="DevExpress.Web.ASPxClasses.ThemesConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="compression" type="DevExpress.Web.ASPxClasses.CompressionConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="settings" type="DevExpress.Web.ASPxClasses.SettingsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> <section name="errors" type="DevExpress.Web.ASPxClasses.ErrorsConfigurationSection, DevExpress.Web.v12.1, Version=12.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" requirePermission="false" /> </sectionGroup> </configSections> ... <devExpress> <themes enableThemesAssembly="true" styleSheetTheme="" theme="DevEx" /> <compression enableHtmlCompression="false" enableCallbackCompression="true" enableResourceCompression="true" enableResourceMerging="true" /> <settings rightToLeft="false" /> <errors callbackErrorRedirectUrl="" /> </devExpress>
- 模板指定您在向导中设置Web.config文件的选项。
经历这些文件的链接,并尝试根据您的需要修改这些设置。
Go through these documentation links and try to modify these settings as you require.
更多推荐
创建后我如何更改DevEx preSS项目的主题?
发布评论