Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Red Cross Error in Grid
posted

Hello firends,

Is there's  any way to prevent the Red Cross Error in Grid ?Or any way to relod the gid quickly ?i can't catch the error with any grid event handler . 

  • 37774
    Suggested Answer
    posted

    In most cases, this error is the result of improperly using multiple threads to update the grid, either directly or indirectly.  Keep in mind that it is not safe to update the DataSource directly from another thread, since the BindingManager will notify the grid that something has changed and thus you are indirectly updating the grid from another thread.  This is not specific to the grid, but rather the fact that .NET controls are not thread-safe.  If you are using multiple threads, be sure to Invoke any of these calls back to the main thread when they are performed.

    -Matt