Rendering design-time content on a web UserControl

Discussion in 'ASP .Net Building Controls' started by malibio, Jan 28, 2004.

  1. malibio

    malibio Guest

    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).
     
    malibio, Jan 28, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Barry Carr
    Replies:
    4
    Views:
    804
    Barry Carr
    Jan 15, 2004
  2. Oleg Ogurok

    design-time rendering doesn't happen unless properties changed

    Oleg Ogurok, Jul 11, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    117
    Oleg Ogurok
    Jul 11, 2003
  3. Stephen Miller
    Replies:
    1
    Views:
    296
    Alessandro Zifiglio
    Jan 2, 2004
  4. malibio

    Rendering design-time content on a web UserControl

    malibio, Jan 28, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    153
    Stanley
    Feb 2, 2004
  5. Kan Grewal

    Web Usercontrol in a Web Usercontrol not displaying...

    Kan Grewal, Jul 6, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    123
    Kan Grewal
    Jul 7, 2004
Loading...

Share This Page