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. Advertisements

  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. Advertisements

  3. Steve - DND

    Natty Gur Guest

    Natty Gur, May 18, 2004
    #3
    1. Advertisements

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. Doris Cox
    Replies:
    0
    Views:
    695
    Doris Cox
    Dec 2, 2003
  2. Dennis
    Replies:
    0
    Views:
    849
    Dennis
    Dec 2, 2003
  3. Richard Dixson
    Replies:
    1
    Views:
    766
    Joe Fallon
    May 18, 2004
  4. Dennis
    Replies:
    0
    Views:
    588
    Dennis
    Dec 2, 2003
  5. Replies:
    2
    Views:
    801
  6. pek
    Replies:
    0
    Views:
    1,356
  7. Chris
    Replies:
    1
    Views:
    308
    Chris Simmons
    Nov 6, 2003
  8. johannes falcone
    Replies:
    6
    Views:
    1,161
    johannes falcone
    May 16, 2013
Loading...