?
Solved

How to remove border on ASP.NET(C#) ListBox?

Posted on 2004-04-28
1
Medium Priority
?
1,859 Views
Last Modified: 2011-09-20
I want to remove the borders of a ListBox in ASP.NET.  Merely changing the Border/BorderStyle properties do not work.  

Is there a way to change the borderstyle of a ListBox in ASP.NET(C#)?

Thanks.
0
Comment
Question by:gometang
1 Comment
 
LVL 5

Accepted Solution

by:
chaniewskim earned 1000 total points
ID: 10944442
No, it is not possible because a ListBox is in fact <SELECT> tag in resulting HTML. And <SELECT> cannot have its border style set... :(
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question