Panels in C#

Posted on 2004-08-04
Last Modified: 2010-04-15

I was wondering if it's possible to create separate panels on a form in C#, similiar to how you can create two separate panels on a GUI using Java's Swing library? And if you can, how to go about it?

Thanks in advance...
Question by:pikapi
  • 2

Expert Comment

ID: 11716841
are u using visual studio?
if you are, you can just drag the panel onto the aspx page.


Accepted Solution

brandonh6k earned 50 total points
ID: 11718914
Panels in ASP.NET are pretty easy.  Just wrap each section of the page in <asp:panel> tags as appropriate.  You can then set the visibility by panel id.

In WinForm applications, just drag the panel component into place like anything else and just drop other components on it.

Do you have a specific question about using panels?  If so, you should post more details about what you're trying to accomplish.


Expert Comment

ID: 11947388
I personally think I should get at least partial credit for my answer.  I gave decent answers for both WinForms and WebForms despite a vague initial question.  :)


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now