galmax Posted August 5, 2004 Posted August 5, 2004 We have: 1) aspx page 2)LinkButton 3)Label I want to do the following Clicking on the LinkButton should make the Label visible and another click - invisible. Something like expand/collapse. I`m a beginner - so please make an answer in step-by-step view. Thanks a lot!!! Quote
Moderators Robby Posted August 5, 2004 Moderators Posted August 5, 2004 While in design view of your aspx page, double-click the linkButton, then place this code in the click event routine.... Label1.Visible = Not Label.Visible Quote Visit...Bassic Software
Arch4ngel Posted August 5, 2004 Posted August 5, 2004 This will do what you want but will cause a round trip to the server. Maybe you should think about Javascript (or I'm only crazy) Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.