I don't know if your control needs to read its own attributes and position
itself at runtime, but I'm wondering if that is a possibility.
"Christian" <> wrote in message
news:5aBSa.23012$...
> It is already set to gridLayout.
> The strange thing is that when I change the position of for example a
> standard control (say a button) that the change is reflected at run time.
>
> But not with the usercontrol.
> at design-time no problem : when I drag my usercontrol to another position
> at design-time is the change reflected in the html-code (or vice-versa by
> changing the position in the html-code is the usercontrol's position
changed
> accordingly)
>
> But not at runtime. ??
>
> chris
>
> "Rick Spiewak" <> wrote in message
> news:...
> > Right-click on the page, and select properties. Change the layout to
Grid.
> >
> > "Christian" <> wrote in message
> > news:zHxSa.22674$...
> > > Hi,
> > >
> > > I try to change the position of a WebUserControl on my WEbform by
> > changing
> > > the absolute position in the html-code but it does not work.
> > >
> > > <uc1:LottoWebUserControl id="m_gridControl" style="Z-INDEX: 107; LEFT:
> > > 300px; POSITION: absolute; TOP: 220px"
> > > runat="server"></uc1:LottoWebUserControl>
> > > The control always stays at the same position , some where topleft
on
> > the
> > > page.
> > > Why ?
> > >
> > > christian
> > >
> > >
> >
> >
>
>
|