Hi,
I simply want the the top of the top left of the gridview to align with the top left of the content placeholder area. How can I do this?
From the code we can see, you put the gridview in a td of a table, you can set the td's valign and align are top and left.
for example:
<td align="left" valign="top">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
Or you also set the td that the contentplaceholder is in, set the td's valign and align are top and left. Then the content page will show its position is to the top left of the content placeholder area.
For example:
<td align="left" style="width: 100px; height: 248px" valign="top">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support