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.

Res X issue

Thread ID:

Created:

Updated:

Platform:

Replies:

38948 Dec 21,2005 12:59 PM Dec 22,2005 12:20 AM Windows Forms 1
loading
Tags: GridControl
Christopher Dugdale
Asked On December 21, 2005 12:59 PM

Hi, Since upgrading from v 2.1.0.9 to v 3.3 I have an error during initialisation of one of my grids. I get a class cast exception when the follwoing line is executed:- this.gridRowStyles.ColWidths = ((Syncfusion.Windows.Forms.Grid.GridModelRowColSizeIndexer)(resources.GetObject("gridRowStyles.ColWidths"))); The object returned from [resources.GetObject("gridRowStyles.ColWidths")] is of type GridModelColWidthsIndexer What do I need to do to correct this issue? I have tried running the resx through the convert resx utility, but still get the same problem. Thanks Chris.

stanleyj [Syncfusion]
Replied On December 22, 2005 12:20 AM

Hi Chris, In version after 3.0, the changes in the grid designer is coded under Window Forms Designer generated code. If you wish those stuff in Resx file to be coded Use Touch It verb. To use Touch It, Open the form in the designer, and then click the grid. Under the grid''s propertygrid, you should see the ''Touch It'' verb. Click that and then try compiling things again. Let me know if you have any more questions. Best regards, Stanley

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.

;