can NOT change the position of a WebUserControl on page (GridLayout is set)

C

Christian

Hi,

I try to change the position of a WebUserControl on my WEbform (layout is
set to GridLayout) by changing the absolute position in the html-code but it
does not work.

When I change the position at design-time for my user control by changing it
directly in html-code is the change reflected in the design view (and
vice-versa). But when I run the app is the control always positioned at the
same location (somewhere topleft on the page)

The strange thing is that when I change the position at design-time of a
standard control (say a button) that the position is changed well at
run-time.

So it works for standard controls but not for my webusercontrol ???
Why ?

html sample code :
<uc1:LottoWebUserControl id="m_gridControl" style="Z-INDEX: 107; LEFT:
300px; POSITION: absolute; TOP: 220px" runat="server">
</uc1:LottoWebUserControl>

Thanks
chris
 

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

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top