We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Essential Grid and Visual Inheritance

Thread ID:

Created:

Updated:

Platform:

Replies:

2167 Dec 19,2002 11:11 AM UTC Dec 21,2002 09:57 AM UTC Windows Forms 4
loading
Tags: GridControl
Joseph Nash
Asked On December 19, 2002 11:11 AM UTC

Do you know of any problems with the grid control and Visual Inheritance in the Visual Studio? I have two problems. First, after I inherit (from either a file in the assembly or from a dll) from a user control or from containg a grid control everthing is correct and the control is visible. After changing some propereties I get the Visual Studio notification that it can't find the constructor for the object I am inheriting from and it will no longer display in the designer. Secondly, I an ealier version I used Load Template to intiialize the form, I had similar and some far worse symptoms that required deleting the source file to eliminate. Now sevelal weeks later, when I am attempting to do visual inheritance, the inherited control is formatted with the template. The template .egt file has long since been deleted so it is not getting it from there.

Administrator [Syncfusion]
Replied On December 19, 2002 12:10 PM UTC

There are probably several problems with Visual Inheritance as we have not yet worked out all the details to support visual inheritance with the grid. Only our Essential Tools product right now fully supports Visual Inheritance. We plan to support it with Essential Grid soon in a future version, though. Stefan

Joe Nash
Replied On December 19, 2002 02:47 PM UTC

Thanks. I will work around it. BTW I just purchased the suite - it is fantastic. > Do you know of any problems with the grid control and Visual Inheritance in the Visual Studio? I have two problems. First, after I inherit (from either a file in the assembly or from a dll) from a user control or from containg a grid control everthing is correct and the control is visible. After changing some propereties I get the Visual Studio notification that it can't find the constructor for the object I am inheriting from and it will no longer display in the designer. Secondly, I an ealier version I used Load Template to intiialize the form, I had similar and some far worse symptoms that required deleting the source file to eliminate. Now sevelal weeks later, when I am attempting to do visual inheritance, the inherited control is formatted with the template. The template .egt file has long since been deleted so it is not getting it from there. >

Administrator [Syncfusion]
Replied On December 20, 2002 07:29 PM UTC

Stefan, That explains why my VS.NET sometimes keeps crashing i.e. just disappears when I open an inherited form with Grid in it. BTW, if I delete the grid related code in "InitializeComponent()" of my derived class, it works. It took me a while to figure it out. When do you plan on supporting this feature? thanks, - Reddy

Administrator [Syncfusion]
Replied On December 21, 2002 09:57 AM UTC

Reddy, We have identified one problem that can cause Visual Studio just to shut down. It can happen with any control that sets default values to extremely large numbers (not just Essential Grid). Check the designer generated code for any lines setting values to very large numbers (say 1e50 or larger). This can happen when you use the numericupdown cell and the grid (prior to version 1.5.1.1) would set the defaultvalue to double.MaxValue. These large numbers just choke Visual Studio the next time you try to open the form. If you have files done with versions earlier than 1.5.1.1, just open up the designer code and remove these lines. Then maybe VisStu will not shutdown. Clay

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;