Solved

Visual Studio - Using GridLayout on a Panel object

Posted on 2004-08-18
4
383 Views
Last Modified: 2012-05-05
Hi,

I am using the GridLayout but i need some controls to beinside a panel for easy hiding and showing.  I cant seem to position the controls exactly in the panel in the designer.

Regards,
Michael
0
Comment
Question by:Xavior2K3
4 Comments
 
LVL 8

Accepted Solution

by:
daffodils earned 125 total points
ID: 11833077
That happens due to the absolute positioning of controls in GridLayout.
Look at the HTML code... simple move the <asp:panel>.. and </asp:panel> tags to enclose the controls you want inside the panel.
This is a manual method.. don't know if there is an automatic way to do this.
0
 
LVL 25

Assisted Solution

by:nauman_ahmed
nauman_ahmed earned 125 total points
ID: 11833412
I will also recommend you use server side tables as it is the easiest way to organize the controls however you wnat. you can either use an HTML table with runat="Server" attribute or a Table server control. You can also add, delete, insert rows whenever it will be required in this way....

HTH, nauman
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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