Click here to Skip to main content
15,904,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a link button control on my home page side bar nav. When a user clicks this button to show a pannel and hide the button.
Posted
Comments
F-ES Sitecore 19-Jan-16 5:56am    
Is this asp.net?

1 solution

on the click event you can toggle the display of panel as below

panel.Visible = ! panel.Visible;
 
Share this answer
 
Comments
jeshma jelas 20-Jan-16 4:01am    
can you explain this
Sri Nivas (Vasu) 20-Jan-16 4:33am    
You need to create event handler method for the link button in home page side bar nav. In that method include below line.

panel.Visible = ! panel.Visible;

This line will toggle the visibility of the panel.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900