Viweing Web Controls in Design Mode

C

Carlos Hernandez

How can I view my web control in design mode?? I created one, and cant see
it on my other web pages when designing.

Thank,s
 
W

Weston Weems

Are you thinkign webcontrols or usercontrols?

If you create a "Web User Control" with a ascx, I dont
think you can have it display a preview... at least in
vs.net 2003.

If you inherit webcontrol and then implement
GetDesignTiemHtml, it does render in the browser just fine.

Weston
 
Q

q

Microsoft is said to be eliminating the 'ugly gray box'
in asp.net 2.0 for UserControl (ascx).

For WebControl use GetDesignTimeHTML,
GetEmptyDesignTimeHTML & GetErrorDesignTimeHTML.
 

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,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top