Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Asp.net Infragistics Control
posted

Hi Infragistics Team,

Now currently using infragistics 2015 v1,  we are using the name space " infragistics.web.ui.Gridcontrol",  now using webexcelexporter contrl . it's throw the Error .

see the below error .

The base class includes the field 'ExcelExporter', but its type (Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter)

is not compatible with the type of control (Infragistics.Web.UI.GridControls.WebExcelExporter).

<?xml version="1.0" encoding="utf-8"?><Exception><System>ProductValuationsSystem><User /><Message>

The base class includes the field 'ExcelExporter', but its type (Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter)

is not compatible with the type of control (Infragistics.Web.UI.GridControls.WebExcelExporter).Message><Type>System.Web.HttpParseExceptionType>System.Web<StackTrace>

at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder)

at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)

at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)

at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse)

at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() at System.Web.Compilation.PageCodeDomTreeGenerator.BuildMiscClassMembers()

at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree()

at System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath)

at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider)StackTrace>Exception>


now Updated control Webexcelexporter .  & changed the namespace also . please help on this . here attached one screen shot .

  • 2535
    Offline posted

    Hi,

    Thank you for using our forum.

    This error will be shown when in the web.config or in the page you have reference for the UltraWebGridExcelExported.

    Can you check if you have such reference?

    If this does not help can you send me a small sample to investigate it in more details.