Get RenderBeginTag HTML to show in Design Mode

Discussion in 'ASP .Net Building Controls' started by Mark S, Nov 16, 2004.

  1. Mark S

    Mark S Guest

    Hello,
    I can't get any rendered HTML to appearing in the designer. It doesn't give
    a compile error, and it even appears fine in the browser.

    I'm using the RenderBeginTag and RenderEndTag methods of the
    WebCustomControl, such as:

    public override void RenderBeginTag(HtmlTextWriter writer)
    {
    base.RenderBeginTag (writer);
    writer.RenderBeginTag(HtmlTextWriterTag.Hr);
    }

    Does anyone know why - perhaps I need to add an attribute somewhere?

    Thanks,
    Mark
    Mark S, Nov 16, 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. Replies:
    3
    Views:
    540
    Steven Cheng[MSFT]
    Oct 9, 2006
  2. shapper

    RenderBeginTag

    shapper, Dec 28, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,652
    shapper
    Dec 28, 2006
  3. Henri
    Replies:
    1
    Views:
    365
    Henri
    Jul 13, 2004
  4. Lisa

    Why can't I override RenderBeginTag?

    Lisa, Sep 22, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    145
    John Saunders
    Sep 22, 2004
  5. xenomur

    renderbegintag without any tag

    xenomur, Feb 27, 2007, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    176
    xenomur
    Mar 1, 2007
Loading...

Share This Page