Expand and collapse content

Added By: bcwebs

(3 of 5) by 9.
Rate Snippet:
Description:  Ever wonder how they make those expandable tables on a webpage? This is just one method, using the "panel" control in ASP.NET. Copy the following code and name the page whatever you want. Open it and you will be presented with a plus "+" sign. Click on it and the content between the panel tags will be displayed. You can virtually drop anything between the panel tags and make it appear/disappear. Great for keeping your pages small (i.e. less scrolling and much more easy to navigate).
Language:  Visual Basic .NET

Save to web space
E-mail Link

Code Snippet: