I’ve created a new ASP.NET 2.0 page, inherited a menu bar from a master page and put a listbox that is binded to a dataset. Whenever I move my mouse cursor over the menu bar, the listbox would flicker. Googling the term “C# listbox flicker” yeild solutions such as Double Buffering, custom control, .BeginUpdate and .EndUpdate, just to name a few.
And then it struck me. I tested the same page in Firefox, and the list only displayed 18.5 rows. Yes, half a row, IE6 displayed 19 full rows. That tells me it has something to do with the height property. Sure enough, remove the Height property and instead put in a specific number of rows in the Rows property solved the problem.
Reference: Vikram Lakhotia