求救:dev 控件 Cannot find the 'Office2010Silver' theme.
我用dev aspxgridview 控件做一个web页面 ,选了Office2010Silver' theme.在开发的电脑上可以,发布到服务器上后,报错:
Cannot find the 'Office2010Silver' theme.
是不是少引用了一个dll了? 求大家帮忙啊.
详细报错信息见如下:
Cannot find the 'Office2010Silver' theme.
Parameter name: Theme
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.ArgumentException: Cannot find the 'Office2010Silver' theme.
Parameter name: Theme
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Cannot find the 'Office2010Silver' theme.
Parameter name: Theme]
DevExpress.Web.ASPxClasses.Internal.ThemesHelper.ApplyTheme(Control control, String themeName, Boolean designMode) +216
DevExpress.Web.ASPxClasses.ASPxWebControl.ApplyTheme(String themeName, Boolean ignoreDesignMode) +104
DevExpress.Web.ASPxClasses.ASPxWebControl.ApplyThemeInternal() +202
DevExpress.Web.ASPxClasses.ASPxWebControl.OnInit(EventArgs e) +24
DevExpress.Web.ASPxClasses.ASPxDataWebControlBase.OnInit(EventArgs e) +13
DevExpress.Web.ASPxGridView.ASPxGridView.OnInit(EventArgs e) +12
System.Web.UI.Control.InitRecursive(Control namingContainer) +140
System.Web.UI.Control.InitRecursive(Control namingContainer) +311
System.Web.UI.Control.InitRecursive(Control namingContainer) +311
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
--------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272