944,164 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 2839
  • ASP.NET RSS
Jun 7th, 2006
0

How to set User control=false

Expand Post »
Dear All,
I need to hide the user control by checking a small if condition.If the condition is false then then the user control is set TRUE,else It should be FALSE.How can i do it in ASP.NET with VB.NET .
Thanks,
Thiyagarajan.N
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thiyag2001 is offline Offline
3 posts
since May 2006
Jun 7th, 2006
0

Re: How to set User control=false

ASP.NET Syntax (Toggle Plain Text)
  1. if condition = false then
  2. Control.Visible = true
  3. else
  4. Control.Visible = false
  5. end if

Replace "Control" with the name or ID (the reference) of your server control.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Jun 7th, 2006
0

Re: How to set User control=false

Hi Thanks for your response.But I have tried this .I couldn't false the control.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thiyag2001 is offline Offline
3 posts
since May 2006
Jun 7th, 2006
0

Re: How to set User control=false

Ok well you will have to post some of your code, and describe in more detail the error you are getting, because there is no reason this should not be possible I have done it only this week in my own ASP.NET project and several times before that.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: SQL statement error
Next Thread in ASP.NET Forum Timeline: Paging goes to wrong page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC