WebControls.Panel versus DIV tag

R

Rob Nicholson

I'm confused as to when you'd use the WebControls.Panel instead of the DIV
tag as they appear to offer similar facilities on the surface.

Thanks, Rob.
 
K

Karl Seguin

They do offere similar facilities on the surface, but beneath the surface
one provides a rich OO programming interface which allows you to
programmatically set and control a high number of properties and levarage
much functioanlity, while the other one does not.

Karl
 
K

Kevin Spencer

A DIV tag is static HTML. A Panel is a dynamic Control that you can control
from the server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
R

Rob Nicholson

They do offere similar facilities on the surface, but beneath the surface
one provides a rich OO programming interface which allows you to
programmatically set and control a high number of properties and levarage
much functioanlity, while the other one does not.

Thanks - knew there was a reason for it's existence.

Cheers, Rob.
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top