Click here to Skip to main content
13,044,467 members (119,798 online)
Rate this:
 
Please Sign up or sign in to vote.
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 3-Jan-13 21:03pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100