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

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,191
Latest member
BuyKetoBeez

Latest Threads

Top