Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to get the – image when I click on the + image which are present in the header of the Accordion with only one pane. Can any one suggest me the solution with Jscript that is to be used in .net
Posted
Updated 2-Sep-10 6:48am
v3
Comments
Dalek Dave 2-Sep-10 10:26am    
Can you explain what you mean for that question looks like the sort of rubbish I often write! :)
Please explain better.
Sandeep Mewara 2-Sep-10 12:48pm    
Just shortened your Q title

1 solution

When you have only one pane and you need a tree like structure/behaviour then why are you using Accordian?

Use a Tree Menu and your scenario would be covered. Further, if you want to keep Accordian (with one pane only!), put a treeview inside it and have '+','-' behavior for expansion and collapse feature. Accordian would just be like a dummy panel present increasing page load! :doh:
 
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