Solved

Visual Studio - Using GridLayout on a Panel object

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

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

Suggested Solutions

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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