Solved

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

Posted on 2004-04-28
1
1,821 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 250 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
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 …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now