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
125
UltraGrid with UltraDropDown slow in painting
posted

I have a tab control with three tabs. One of the tabs has an ultragrid on it. I set up the grid column to use UltraDropDown to select items. I want the column to show texts but store number internally. After the form is loaded, I try to switch between tabs. When I select the tab with grid on it, it takes a while for the contents of the grid to load(paint). When there are more rows on the grid, it takes even longer. When I set Visual Studio to show all exceptions, I got the exception "Input string not in correct format". If I setup the DisplayMember and ValueMember to be the same, the grid loads right away without delay. I assume there might be something wrong with my setup and it's slowing it down. I have attached sample code. Not sure if I set up everything correctly.

Thanks,

Jason

test.zip