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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Res X issue

Thread ID:





38948 Dec 21,2005 05:59 PM UTC Dec 22,2005 05:20 AM UTC WinForms 1
Tags: GridControl
Christopher Dugdale
Asked On December 21, 2005 05:59 PM UTC

Hi, Since upgrading from v 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 05:20 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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