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.

2.0.3.0 Performance/RefreshGrid sample

Thread ID:

Created:

Updated:

Platform:

Replies:

11848 Mar 16,2004 11:10 PM Mar 17,2004 10:21 PM Windows Forms 5
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 16, 2004 11:10 PM

Hi, I just downloaded the 2.0.3.0 syncfusion package, and theres a very interesting sample in it called Performance/RefreshGrid. Thank you for this sample; it definately points out some usefull avenues for performance optimisations. Unfortunately I''m having trouble getting the sample to run. At line 108, a System.ExecutionEngineException is thrown. This is what line 108 looks like: e.Cancel = GridGdiPaint.Instance.DrawText(e.Graphics, e.DisplayText, e.TextRectangle, e.Style);

Administrator [Syncfusion]
Replied On March 17, 2004 05:34 AM

What operating system are you using? On my XP system, I can load, build and run both the CS and VB versions of that sample under .NET 1.0 and .NET 1.1? Can you post the call stack? That line you posted is trying to use interop to access GDI drawing code instead of the .NET GDI+ code. Have you changed the sample in some so it needs GDI+ for some reason (like drawing gradients)?

Administrator [Syncfusion]
Replied On March 17, 2004 08:17 AM

Im using windows 2000, latest SP, VS.2003, Syncfusion 2.0.3.0 installed and rebooted. Going ot try windows XP later today. The project is completely unmodified, except to convert to VS.2003. Unfortunately, the call stack isnt very informative: [] > RefreshGrid.exe!RefreshGrid.PerformanceGrid.OnDrawCellDisplayText(Syncfusion.Windows.Forms.Grid.GridDrawCellDisplayTextEventArgs e = {Syncfusion.Windows.Forms.Grid.GridDrawCellDisplayTextEventArgs}) Line 163 + 0x61 bytes C# [] RefreshGrid.exe!RefreshGrid.Form1.Main() Line 390 C# Heres the output: ''DefaultDomain'': Loaded ''c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll'', No symbols loaded. ''RefreshGrid'': Loaded ''C:\Program Files\Syncfusion\Essential Suite\2.0.3.0\Grid\Samples\Performance\RefreshGrid\CS\bin\Debug\RefreshGrid.exe'', Symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll'', No symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll'', No symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll'', No symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\syncfusion.grid\2.0.3.0__3d67ed1f87d44c89\syncfusion.grid.dll'', No symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\syncfusion.shared\2.0.3.0__3d67ed1f87d44c89\syncfusion.shared.dll'', No symbols loaded. ''RefreshGrid.exe'': Loaded ''c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll'', No symbols loaded. An unhandled exception of type ''System.ExecutionEngineException'' occurred in syncfusion.grid.dll

Administrator [Syncfusion]
Replied On March 17, 2004 09:58 AM

It may be a font problem. We''ll try it on Win2K here.

Administrator [Syncfusion]
Replied On March 17, 2004 11:37 AM

It turns out that grid is calling the unicode version of TEXTMETRIC, and this appears not to work on Win2K. We will handle this in our code.

Administrator [Syncfusion]
Replied On March 17, 2004 10:21 PM

excelent - please send us a patch/update ASAP

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.

;