Composite Control default style attribute

T

tim_cavins

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
 
A

Alessandro Zifiglio

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
 

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

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top