"Visual" User Controls in VB.Net (ASP.Net) ??

  • Thread starter Thread starter Seth Guard
  • Start date Start date
S

Seth Guard

(Sorry for the cross-post, but no one responded to my other thread.)

When developing a web page in VS.Net, I see everything in WYSIWYG
format. And when I am creating a User Control, I see that drawn the
same way.

However, when I drag the User Control onto my main page, I see a gray
box where the User Control should be. (I was expecting to see my User
Control actually *rendered* on the Design screen, similar to how
FrontPage renders include pages on a home page.)

Am I doing something wrong, is a setting not properly set, or is this
purely by design?

Of course, it looks fine when I debug/run it. But I was expecting to
see everything on one screen while developing. Little gray
placeholders are going to drive me nuts!

If anyone can help, I'd truly appreciate it! Thanks in advance for
your time.

Sincerely,

Seth Guard
(e-mail address removed)
 
That is by design. It is a tradeoff you deal with for having the ease of
creating user controls.

If you really care about design time WYSIWYG support, you should create a
server control instead. It is a much more involved process than creating a
UserControl, however.
 
Back
Top