Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Rendering design-time content on a web UserControl

Reply
Thread Tools

Rendering design-time content on a web UserControl

 
 
malibio
Guest
Posts: n/a
 
      01-28-2004
I created a web user control and would like to add the ability for it
to contain design-time rendering capabilities. So that, during
development, when the control is dragged to an aspx web form, it'll
show html content that contains what it would look like when ran. Is
this possible? I created a ControlDesigner class and over rode the
GetDesignTimeHtml() method, then applied that class as the Designer
(within the UserControl's attribute), but I still get that dull,
button-looking UserControl image on the aspx page (design mode).
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
web usercontrol + delegates or specialised usercontrol base class info@record-play.com ASP .Net 0 06-23-2006 09:41 AM
IE6 SP1 rendering vs IE6 SP2 rendering Peter Mount HTML 4 01-31-2006 08:01 AM
Web Usercontrol in a Web Usercontrol not displaying... Kan Grewal ASP .Net Web Controls 2 07-07-2004 08:12 AM
Rendering design-time content on a web UserControl malibio ASP .Net Building Controls 1 02-02-2004 03:00 PM



Advertisments