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. Image for the cookie policy date
close icon

Dump all grid events

Is there a built in way to dump all events being fired at runtime in a GridControl to a log/window/file/something?

3 Replies

AD Administrator Syncfusion Team June 4, 2005 02:23 AM UTC

If you have the source code for the Essential Grid, you can use the Assembly Manager to build a debug version of the library. With debug builds, you can include a exe.config file with the correct switches in your EXE folder to have the grid generate debug output showing things like events being hit. Here is a sample. Now in the \3.2.1.0\Windows\Grid.Windows\Samples\Quick Start\GridPad sample config file, a lot of the switches have an ''s'' or ''x'' in front of them. This effectively turns off that particular tracing. Remove these extra characters if you want to their output in the trace. To see all the possible switches, look in the switches.cs file found in the grid''s src folder.


TA Tom Abraham June 17, 2005 11:45 PM UTC

Thanks, but we don''t have the source code...


AD Administrator Syncfusion Team June 18, 2005 12:47 AM UTC

Without the source code so you can use debug builds of our library, I do not know how to access the built-in debug tracing support. In this case, I think you would have to add your own tracing support. One way to do this is to use the technique (in this file, CurrentCellTracer.cs) shown in these samples. \Program Files\Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\CellTypes

Loader.
Live Chat Icon For mobile
Up arrow icon