The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
STstanleyj Syncfusion Team 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