Solved

Panels in C#

Posted on 2004-08-04
5
324 Views
Last Modified: 2010-04-15
Hi

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...
0
Comment
Question by:pikapi
  • 2
5 Comments
 
LVL 1

Expert Comment

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

0
 
LVL 3

Accepted Solution

by:
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.

Brandon
0
 
LVL 3

Expert Comment

by:brandonh6k
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.  :)

Brandon
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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