if condition = false then
Control.Visible = true
else
Control.Visible = false
end if
Replace "Control" with the name or ID (the reference) of your server control.
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
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.
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68