468,765 Members | 1,178 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

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

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
Nov 17 '05 #1
0 1473

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by dale zhang | last post: by
2 posts views Thread by Christian | last post: by
2 posts views Thread by Oren | last post: by
reply views Thread by Giovanni | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.