• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1875
  • Last Modified:

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

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
gometang
Asked:
gometang
1 Solution
 
chaniewskimCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now