Click here to Skip to main content
15,868,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i want an urgent help in the below quest.
I'm on a UI where if i select any value in a dropdown list, it shows a listbox of data linked to it.
Currently we have grid out the listbox, but we require to make this list box invisible.
How should i continue.
Currently we are using
page.schemelistbox.Enabled=false
page.schemelistbox.visible=false

How to make this schemelistbox invisible?????
Posted

1 solution

Don't tell us it's urgent that you don't have any clue how to do your job.

I suspect when the control is disabled, you can't change it's visibility. Visible = false; is all you need.
 
Share this answer
 
Comments
Jibesh 6-Jan-13 4:28am    
Christian Graus this is not true. we still can change the Visibility no matter its enabled/disabled previously
Christian Graus 6-Jan-13 14:57pm    
Yeah, that being the case, this question was stupid, because visible always works. I was trying to think of any possible reason for this code to not work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900