Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to view a portion of a page by clicking the '+' symbol,and it becomes'-'.And when i want to hide it click the '-'.What is this process called,which control is used and how to implement.
Posted
Comments
Ankur\m/ 26-Apr-11 6:37am    
The process is called Collapse-Expand. Search Google/Bing for "Collapse Expand" JavaScript and you will find lots of example.

That process is called "Expandible-Collapsible panels" you can achieve this by using JavaScript, Jquery or AjaxControltoolkit CollapsibleExtender.

Try on google with "Expandable-Collapsible +,- using javascript"

Some useful links
Link 1[^]
http://www.shopdev.co.uk/blog/jquery-cookies-demo.html[^]
 
Share this answer
 
Comments
Baji Jabbar 26-Apr-11 9:21am    
well said 5ed
Collapsible Panel!

All you need is a Div element that toggles(show/hide the display style) on the click of the '+'/'-' image.
Just Google for the same if needed.
 
Share this answer
 
If you want you can use JQuery for more UI effect

Follow the below link


http://api.jquery.com/toggle/[^]
 
Share this answer
 
How about using collapsiblepanelextender in ajax . Check the link for details CollapsiblePanel Demonstration[^]
 
Share this answer
 

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