asp.net composite controls

  • Thread starter Philip Townsend
  • Start date
P

Philip Townsend

I have built a composite control containing a calendar, two
dropdownlists, and a button. Currently I have only the index of each
control as a means of formatting. What is the best way of formatting the
layout of the controls in a composite control? Thanks!
 
H

Hermit Dave

your composite control could expose properties like say
item1style, item2style or even positioning properties.. you could give more
appropriate names like in datagrid you have headerstyle, itemstyle etc.
the properties internally format the appropriate contained control

HTH
--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 

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

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top