How to make ASP.NET ListBox Transparent

How to make ASP.NET ListBox Transparent

Post by Jeff Rhode » Tue, 14 May 2002 21:39:34



I am trying to make a Web Forms ListBox transparent with no success. I have
set both the BackColor and the ForeColor to Transparent. An HTML ListBox is
transparent with no problem, but I need to databind. Here's the generated
HTML:

<select name="sessionListBox" id="sessionListBox" size="4"
style="color:Transparent;background-color:Transparent;height:416px;width:400
px;Z-INDEX: 106; LEFT: 8px; POSITION: absolute; TOP: 48px">

The ListBox has a white background rather than letting my background image
show through. Can anyone tell me what I am missing?

Thanks,

Jeff Rhodes

 
 
 

1. Hey Folks I finally made the leap (ASP -> ASP.net Questions)

*.aspnet and *.vb so I could get rounded opinions.

Hey Folks,

I decided to see what all the fuss was about and made the switch to ASP.net
from classic ASP.   I must say the transisition has not been as traumatic as
I would have imagine however I really only have re-coded a few simple
one-two page applications.  What stands out most is the speed difference, it
seems to me that after the initial page load (when it gets compiled) my
calculation heavy pages really really run a lot fast and this alone has me
impressed.  I do have a number of questions though that I would appreciate
some feedback on.  Feel free to point me at URLs, I don't much care for
re-inventing the wheel and I do not expect you to do it either.

- So my pages run a little fast, my integers don't suddenly become text
values and give me type missmatch errors and the compilation process causes
me to code a little more carfully.  I feel like I am missing something,
where is the huge huge benefit, it can't just be a revamping of ASP with a
new layer of confusion and better performance?

- I code VB and C - are there any performance benefits to using CSharp over
VB.net?  I'd assume as the code portions are compiled that this would not be
a huge factor.  I have always used VB on the old ASP pages and I'd like to
know if there is a sound arguement for either of the languages.  My biggest
problem with C is forgetting ; at the end of everyline - has C Sharp changed
much from the old C versions?  VB on the other hand is basic but I sometimes
find myself longing for some of the old C functions.

- What happened to isnull() ?  How do I check to see if something is a
number?  Some of the old VB functions I had taken for granted have gone
AWOL, is there a function list anywhere I can download.

- Finally, any good book recomendations from ASP people who have made the
transition?

Any help/responses are appreciated

J

--

Gandalf the AssClown

2. the ct69000 display driver doesn't work in windows ce .net 4.2!!

3. asp.net add semi-transparent images

4. Console.Error property not found in Compact framework

5. Code Example: ASP.NET Buttons (Gif) with Transparent background using GDI+

6. Calling Java from psql (was Re: requesting help)

7. Making a Custom UserCongrol Transparent

8. Making Transparent Images

9. Making a designer surface transparent?

10. Intellisense for own made components in ASP.NET

11. Help making ASP.NET work

12. Intellisense for own made components in ASP.NET