Click to See Complete Forum and Search --> : Listbox properties
indydavid32
Oct 22nd, 2003, 01:42 PM
In a datagrid, you can set it so the alternating lines are a different color.
In ASP .Net, can you do this same thing to a list box?
Also, what would be a good book to buy that would tell me the properties of all these controls, and what they mean?
Core reference of VB .Net my MS Press?
Thanks
Lord_Rat
Oct 22nd, 2003, 03:00 PM
Unfortunately, no.
I've learned from experiece here that anything using the <ASP:LISTITEM object cannot be assigned styles from ASP.NET
As a work-around, I have managed to do so with JavaScript, but it's more work usually than it's worth.
indydavid32
Oct 22nd, 2003, 03:16 PM
Ok, I guess I really need to bone up on Java script and HTML. The ASP tools are nice, but not enough for what I need.
On a differant topic, when I post data to my web page, a new page is created.
Is it possible for me to just clear the list box I have, then post new data to the same web page?
If so, how?
Thanks!
Lord_Rat
Oct 22nd, 2003, 04:03 PM
lstBox.items.clear will clear the list box.
indydavid32
Oct 23rd, 2003, 07:58 AM
Thanks Lord_Rat, that works fine.
What about reposting the same page and not getting a new page everytime I repost to the list box.
Is that possible?
Lord_Rat
Oct 24th, 2003, 10:55 AM
Not sure what you mean??
By default, ASP.NET should repost to the same page...??
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.