Increasing the width of the autocomplete extender list

Posted by Kumar on Stack Overflow See other posts from Stack Overflow or by Kumar
Published on 2010-03-30T17:52:24Z Indexed on 2010/03/31 1:23 UTC
Read the original article Hit count: 376

Filed under:
|
|
|

I have an ASP.NET AJAX autocomplete extender with CompletionListCssClass=autocomplete_completionListElement :

.autocomplete_completionListElement 
{   
    width:500px;
    margin : 0px!important;
    background-color : inherit;
    color : windowtext;
    border : buttonshadow;
    border-width : 1px;
    border-style : solid;
    overflow :auto;
    height : 200px;
    text-align : left; 
}

But for some odd reason the width of the auto complete list always takes up the width of the textbox even when I set the width to 500px. Is there a way to fix this?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-ajax