Flickering issue with Ap.Net List box control

Hi,

Last few days I was working on a page which had lots of list box in it which had multi select option. My master page also had a Menu control for the navigation purpose.  One major problem I was facing was with the flickering of the List box as soon as take my mouse over the menu.

As soon as user takes the mouse over the menu all the list box start to flicker. This gives a very bad user experience.  Setting the exact height and width and z-index of table and div did not do any good to the flicker.  Then and I goggled and found that only way to deal with this issue.

To remove the flickering we have to use the row property and remove any height property in the list box. The row property defines how many rows will be displayed in the list box

<asp:ListBox id=lstExample runat=server Rows=3 selectionmode=Multiple>
</asp:ListBox>

Vikram

Published Friday, April 25, 2008 5:04 AM by vik20000in
Filed under: , ,

Comments

# re: Flickering issue with Ap.Net List box control

Saturday, July 05, 2008 2:35 AM by madhan

hi

thanks a lot,it helps me a lot

# re: Flickering issue with Ap.Net List box control

Friday, May 01, 2009 10:25 AM by Magatra

Thanks a lot for the Tip. I had a select box inside an Ajax Tab control and initially I thought it was an Ajax issue... your tip worked wonders.

Thanks a lot!!

# re: Flickering issue with Ap.Net List box control

Friday, October 02, 2009 10:37 AM by Peeyush

Thank you very much,, I was working on this issue since 4 hour but got stuck.. your trick work wonderfully..

Leave a Comment

(required) 
(required) 
(optional)
(required)