Hi!
I'm using the ultraDockManager and inside of one of the panes I have an ultraGrid in which i load information via datasource. when i'm in debugging the app there is an exception that says I have an unhandled exception (I've attached the error), or sometimes the information disappear from the grid (the error doesn't have a behavior pattern).. I have checked all the events and variables that can cause this problem but I haven't found anything.
thnx
Hi,
The big red X you have in your screen shot here indicates that an exception occurred while the control was painting (in the OnPaint event).
This can happen if there's a bug in the grid, but since the grid has been around for such a long time, now, most of those kinds of errors have been fixed for a long time.
So the most common cause of exceptions like this in more recent versions of the grid is threading issues.
Is the exception the same every time?
Is you application using multiple threads?
It also might help if you specified what version of the grid you are using and posted the text of the call stack of the exception.
thanx for your help.... I'm working with Netadvantage 9.2
this is what i'm doing, I'm only using an ultragrid and a button to load the information.. when the information is loaded I start clicking on the grid and sometimes the information just disappear or shows the message i sent before.. the only thing i have changed in the grid is the property CellClickAction that i have set to "RowSelect" and i'm not using threats :)
I don't see anything obviously wrong with the sample code here, but of course I cannot run it since there appear to be several files missing, and also the sample accesses data source which I obviously do not have access to. So it's hard to say what's going on there.
I recommend that you get the latest service release and see if that helps.
How to get the latest service release - Infragistics Community
If that does not help, you might want to consider downloading the latest version of NetAdvantage (2010 Volume 3) as a trial and see if the problem occurs in the latest version. NetAdvantage 2009 Volume 2, which your sample is using, is not longer being updated.
If none of that helps and you are sure your application is not using any threading, then we would need a small sample project that we can run and see the exception so we can see what's going on there. As I said, the version of NetAdvantage you are using is no longer being updated, but maybe we can find you a workaround, or at least let you know if the problem is fixed in the newer version in case you want to upgrade.