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.

Strange problem

Thread ID:

Created:

Updated:

Platform:

Replies:

27742 Apr 18,2005 06:07 AM Apr 18,2005 12:17 PM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 18, 2005 06:07 AM

I have created a custom control derived from GridControl. When i put it on a form, no problem. When i run the app i get : Exception ''System.Resources.MissingManifestResourceException'' in mscorlib.dll Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Form1.resources" was correctly embedded or linked into assembly "MyGrid.Example1". baseName: Form1 locationInfo: MyGrid.Example1.Form1 resource file name: Form1.resources assembly: MyGrid.Example1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null On Mygrid3.HideCols = ((Syncfusion.Windows.Forms.Grid.GridModelHideRowColsIndexer)(resources.GetObject("Mygrid3.HideCols"))); Removing the line works but it keeps adding this line everytime i recompile

Administrator [Syncfusion]
Replied On April 18, 2005 08:39 AM

What version of our controls are you using? The 3.0 library should no loner try to write binary resources, but earlier releases do. Are you trying to design the derived gridcontrol on the form by hiding columns or something at design time on the form where you dropped the derived grid? If so, this will not work. We do not support visual inheritance in our GridControl (though our tool''s controls do).

Administrator [Syncfusion]
Replied On April 18, 2005 09:05 AM

I use 2.0.5.1 Grid version I''m not doing anything in the property window, everything in the code... I don''t know from where this hidecol has been set

Administrator [Syncfusion]
Replied On April 18, 2005 12:17 PM

Can you upgrade to 3.0.1.0 or higher? This code does away with binary resource and once you delete this line, it should stay deleted.

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.

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.

;