Does any point of time ultragrid.rows as null?
I cannot think of any case where the Rows property would be null. It might be empty, of course, but it should never be null.
Yes, as you say it shouldn't be at any case but this is happening in our app..resulted to have ultragrid.Rows != null condition.
attaching the screenshot while debugging the code, so that you can at watch window