all groups > asp.net building controls > june 2006 >
You're in the

asp.net building controls

group:

Composite Control default style attribute


Composite Control default style attribute tim_cavins NO[at]SPAM hotmail.com
6/12/2006 8:56:08 AM
asp.net building controls: I have a composite control that after dragging it onto the webform adds
the following style attribute to the control:

style="Z-INDEX: 101; LEFT: 104px; POSITION: absolute; TOP: 88px"

How can I automatically remove that? I'd rather do it in the creation
of the control rather than having the developer manually remove it
every time it is used.

-Tim
Re: Composite Control default style attribute Alessandro Zifiglio
6/13/2006 12:00:00 AM
hi Tim, this is a good feature for the developer using your control. He can
simply disable it in visual studio itself if he does not want to use grid
layout but instead flow layout. When in flow layout no positioning is
rendered.
In vs2k5 menu in designtime, go to : Layout - position and you can set this
there.

Alessandro Zifiglio

<tim_cavins@hotmail.com> ha scritto nel messaggio
news:1150127768.285671.46310@f14g2000cwb.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button