problem rendering placeholder with user controls added to it
-
I have a user control I'm adding to a placeholder control - and only the first user control is placed properly on the page after rendering. Here is the html fragment where I add the placeholder to the page. then i dynamically add user controls to the placeholder. Only the first one gets placed properly on the page. <table> <tr> <td align="right"> <table cellspacing="0"> <tr> <td align="center"> <asp:Label ID="Label12" text="Select a different category: " runat="server"></asp:Label> </td> <td> <asp:DropDownList ID="DropDownListProductFamily" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownListProductFamily_SelectedIndexChanged" ></asp:DropDownList> </td> </tr> <tr> <td align="center"> <asp:Label ID="Label13" text="(Your order quantities will be saved.)" runat="server" CssClass="notes"></asp:Label> </td> </tr> </table> </td> </tr> <tr> <td align="left"> <asp:PlaceHolder ID="FOBLocationOrderContainer" EnableViewState="false" runat="server" > </asp:PlaceHolder> </td> </tr> </table> In FOBLocationOrderContainer I add user controls - but no matter what alignment or left adjustment I make only the first control is placed correctly on the page. What do i need to do to get each user control to be left justified 20px from the left edge of a master page?