Can you extend HtmlControls?

Discussion in 'ASP .Net' started by Steve - DND, May 18, 2004.

  1. Steve - DND

    Steve - DND Guest

    Is there any way to extend the stock HtmlControls? What I'm looking to do is
    to still be able to plunk down <select id="blah" name="blah"
    runat="server"/> but have it use my CustomHtmlSelect class instead of the
    regular HtmlSelect class. Is this possible? If so how?

    Thanks,
    Steve
     
    Steve - DND, May 18, 2004
    #1
    1. Advertising

  2. No, this isn't supported.
    You can extend web controls much easier than HTML controls.
    Here's more info:
    http://www.dotnet247.com/247reference/msgs/30/153247.aspx

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "Steve - DND" <steve!@!digitalnothing.com> wrote in message
    news:%...
    > Is there any way to extend the stock HtmlControls? What I'm looking to do

    is
    > to still be able to plunk down <select id="blah" name="blah"
    > runat="server"/> but have it use my CustomHtmlSelect class instead of the
    > regular HtmlSelect class. Is this possible? If so how?
    >
    > Thanks,
    > Steve
    >
    >
     
    Steve C. Orr [MVP, MCSD], May 18, 2004
    #2
    1. Advertising

  3. Steve - DND

    Natty Gur Guest

    Natty Gur, May 18, 2004
    #3
    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. Gopal Prabhakaran

    Difference between HtmlControls and server controls

    Gopal Prabhakaran, Jan 26, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,429
    Rainer Maurer [MS]
    Jan 26, 2004
  2. szabelin
    Replies:
    0
    Views:
    473
    szabelin
    Aug 4, 2003
  3. Paul Russell

    HtmlControls doesn't expose GridLayoudPanel?

    Paul Russell, Nov 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    355
    Paul Russell
    Nov 3, 2003
  4. Marco Scheel
    Replies:
    3
    Views:
    776
    Jacob Yang [MSFT]
    Nov 26, 2003
  5. Chris
    Replies:
    1
    Views:
    209
    Chris Simmons
    Nov 6, 2003
Loading...

Share This Page