WebControl using SPAN tag instead of DIV tags

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I just wrote a composite user control.
It is composed of 2 panels (the idea is only one panel is visible at a
time), and each panel has various simple control.
When rendererd it's rendered using <div> (I suspect this comes from the
Panel), is there anyway to use SPAN instead?
 
I would suggest creating your own control, either user or server. Note,
however, that since a span is an inline tag, some controls will not render
properly within a span element.
 
I solve the problem very simply.
panel2 was containing only1 control, so I dumped it!
 

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

Back
Top