changing listbox height

S

Steve Chatham

I have a number of selections in a listbox that would be adjusted based on a
user's login info.

For instance, if a sales rep logs in, he'll see items A, B, C, D, and E.
However, if it's a customer, he'll only see items A & B.

Is there a way to specify listbox.height based on how many rows are in it,
and have it "fit"? I'm coding in asp.net.

Thanks,

SC
 
S

Steve Chatham

That'll get me the right number of rows, but how about the listbox.height
property?

SC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top