C# ListBox hide vertical scrollbar
Posted
by Codeffect
on Stack Overflow
See other posts from Stack Overflow
or by Codeffect
Published on 2010-06-15T09:09:44Z
Indexed on
2010/06/15
9:12 UTC
Read the original article
Hit count: 289
How to hide the vertical scroll bar of a Listbox that is present inside a div.
<td class="ctrlForm">
<div id="lstQueriesDiv" style="OVERFLOW:auto; Width: 650px; height:167px;" >
<asp:ListBox ID="lstQueries" runat="server" CssClass="cssLstQueries" Rows="9" ></asp:ListBox>
</div>
</td>
.cssLstQueries{
Width:auto;
overflow: hidden;
-ms-overflow-y : hidden;
-ms-overflow-x : hidden;
}
© Stack Overflow or respective owner