Visual Studio - Using GridLayout on a Panel object

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
LVL 1
Xavior2K3Asked:
Who is Participating?
 
daffodilsCommented:
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
 
nauman_ahmedCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.