Every now and then and with no repeatable pattern, I get a red X displayed during the loading of a UltraWinGrid.
On further dig into this we i found that the red x is occur only for specific window user ,when i log into window with different user than red x not occur in my case.please share your view on this.
The big red X means that an exception was raised during the OnPaint of the grid. The most common cause of this kind of issue is that your application is using multiple threads incorrectly and so the grid ends up getting out of synch with it's own internal data or the data source it's bound to and this causes a crash. Is your application using a background thread?
Thanks for your reply .will you explain multiple threads in details.
I can't really provide you with comprehensive documentation on threading. Threading is a general programming concept. Some applications create a separate thread and do work on that thread so as not to tie up the UI thread when long, complex, operations need to happen. If you are not familiar with threading at all, I recommend checking out Microsoft's documentation on support for background worker threads in DotNet.
If you are not sure if you are using a background thread, you could probably just search your source code for the word "Thread" and see if it finds anything. There's a forum post here, in which I discuss the issue of threading with another WinGrid customer and I explain in some detail why you cannot use multiple threads safely with the WinGrid - or really any bound control in DotNet.