Click here to Skip to main content
11,410,750 members (61,644 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 22:03pm
Tejal S1.9K

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 at 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 at 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
0 Sergey Alexandrovich Kryukov 8,885
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2015
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