WebControl using SPAN tag instead of DIV tags

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?
 
C

Christopher Reed

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.
 
L

Lloyd Dupont

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top