0
Answer

VS 2008, ASP, location of web user control on page

Petr

Petr

14y
5k
1
Hello again,

so, I created own web user control, which looks like ordinary numericUpdDown component.

Then I created another web user control which contains a table with only one row and about ten cells. I gave another item into each cell. Two of them contains  the first web user control which looks the numericUpDown.

The problem is I cannot see it there! It's there but I just don't see it..

It looks like this:

<asp:Table ID="Table1" runat="server" Height="22px" style="position:absolute;left:0px; top:0px; width: 482px; margin-bottom: 0px;"
CellPadding="0" CellSpacing="0">
<asp:TableRow runat="server" Height="22px">

<asp:TableCell runat="server" Width="46px" Height="22px">
<uc1:numericUpDownNumbers ID="numericUpDownNumbers1" runat="server"/>

</asp:TableCell>
</asp:TableRow>
</asp:Table>


I've read that web user control cannot be placed anywhere on absolut position, it's better to placed into a table for example and place somewhere the table, but I overlooked sth probably...

Thank you for your answer

Petr