PlaceHolder Position

T

Thom Little

I have a form that uses a PlaceHolder control.

The information is correctly processed into the PlaceHolder area.

The problem is that the PlaceHolder area insists on being at location 0,0
(or 1,1?). How do I move it to another location on the page? It contains
the normal sizing "hints" but the control refuses to be moved.
 
K

Ken Cox [Microsoft MVP]

The Placeholder doesn't seem to take absolute position parameters. You could
probably work around it by putting it inside a one-celled table like this:

<form id="Form1" method="post" runat="server">
<asp:Table id="Table2" style="Z-INDEX: 102; LEFT: 256px; POSITION:
absolute; TOP: 160px" runat="server">
<asp:TableRow>
<asp:TableCell>
<asp:placeHolder id="PlaceHolder1" runat="server"></asp:placeHolder>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
 
T

Thom Little

Ken:

This was my first use of the control and I thought I was missing something
or something was contaminated. Thank you for verifying that I wasn't
overlooking something obvious.

When it is imbedded in the table as you suggest it suddenly is manipulatable
in the designer.

I guess this is a bug in Visual Studio .NET 2003.

Thanks for the help.

.... Thom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top