Solved

Visual Studio - Using GridLayout on a Panel object

Posted on 2004-08-18
4
386 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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