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

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)
 
J

Joshua Flanagan

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.
 

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

Top