AjaxControlToolkit DropDownExtender flicker

by neo_savvy 6/4/2009 8:51:00 AM

To prevent flickering on client load, set the "display: none" on the panel set as the DropDownControlID on the DropDownExtender.

<ajaxToolkit:DropDownExtender runat="server" ID="dropDownExtender" TargetControlID="dropDownLabel" DropDownControlID="dropDownPanel" />
<asp:Label ID="dropDownLabel" runat="server" Text="Label" Width="109"><a>{Drop Down Label goes here}</a></asp:Label>
<asp:Panel ID="dropDownPanel" runat="server" CssClass="modalDropdown" style="display: none">
   <ul>
       <li>DropDownListItem #1</li>
       <li>DropDownListItem #2</li>
   </ul>
</asp:Panel>

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

HTML | ASP.net

Related posts

Comments

Add comment


 

  Country flag





Live preview

9/3/2010 9:46:49 PM

Powered by BlogEngine.NET 1.2.0.0
Theme by Mads Kristensen

About the author

Chyke Ucheya Chyke Ucheya
I'm a Software Engineer at a leading Technology Consulting firm in Atlanta, GA.

E-mail me Send mail

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Sign in