Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi
i want in my page hidden part when the user clike on it showing to them. like have question or comment of this website, can you help how can i buld it?

thanls
Posted
Comments
Sergey Alexandrovich Kryukov 27-Jul-12 12:29pm    
Click on what?!
--SA
Kenneth Haugland 27-Jul-12 12:32pm    
Could be an expander? Isnt there a control for this in ASP?
Sergey Alexandrovich Kryukov 27-Jul-12 16:27pm    
There are a number of similar designs... and come on, such thing is easy to implement from scratch.
--SA
Kenneth Haugland 27-Jul-12 16:38pm    
I agree that it should be trivial (solution is known according to Feynmann), or at least not difficult to design. But I have had som problems like this before regarding use of some special controls. But since he wont share his code, the current answer you gave is the best that one can do.
Sergey Alexandrovich Kryukov 27-Jul-12 16:43pm    
:-)

1 solution

If some part is hidden, there is nothing to click on; so the question makes no sense. If you want to show or hide something, you need to have some elements and their events to handle it. For example, a hidden part might have some placeholder element saying "Show", "Detail…", "Drill down…", etc.

If you decide to design it this way, you won't have any issues if you know some JavaScript. Additionally, I would highly recommend to use jQuery. There are many available design elements (like jQuery plug-ins) to show/hide some content. Besides, you can get enough idea looking at many available Web pages, because if the behavior is based on JavaScript (client side), you always can see the source code.

I suggest you try to implement it and ask your questions if you face any problem; we would gladly help you.

Good luck,
—SA
 
Share this answer
 
Comments
Kenneth Haugland 27-Jul-12 16:56pm    
One more thing... a 5:)
Sergey Alexandrovich Kryukov 27-Jul-12 16:57pm    
Thank you, Kenneth.
--SA

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