Forum  Core :: SDK (Vi...   How do I...?   trying to wrap DataDynamics ActiveReports
Previous Previous
 
Next Next
New Post 10/5/2009 7:34 AM
  winanjaya
207 posts
4th Level Poster


trying to wrap DataDynamics ActiveReports  

I am trying to wrap DataDynamics ActiveReports 3.5 control by I following the tutorial about how to wrap ASP.NET control walkthrough - ComponentOne..

and got the following error:

The designer must create an instance of type 'Gizmox.WebGUI.Forms.Hosts.AspControlBoxBase' but it cannot because the type is declared as abstract.    
 
    
Instances of this error (1) 
 
1.   Hide Call Stack
 
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) 
 
 

--- what does it mean? .. please help..

thanks & regards

 

 

 
New Post 10/7/2009 5:00 PM
  palli
11189 posts
1st Level Poster




Re: trying to wrap DataDynamics ActiveReports  

Hi,

Simply put, the wrapper class inherits from AspControlBoxBase, which is declared as abstract in the VWG SDK. This means that the designer can not edit that class directly, and must create an instance of it to be able to. See more here.

This means that you can't open the wrapped control's class (your wrapper) in the designer to edit it. Nothing serious, just go to code view mode.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...   How do I...?   trying to wrap DataDynamics ActiveReports
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS