Problem Inheriting from DropDownList

Discussion in 'ASP .Net Web Controls' started by Doug Holland, Sep 8, 2004.

  1. Doug Holland

    Doug Holland Guest

    I'm writing a custom DropDownList control which has a constructor of the form:

    public SomeDropDownList(ISomeInterface someInterface)
    {
    m_object = someInterface;
    }

    I then override the OnPreRender method however when I get into the
    OnPreRender method m_object is null.

    Any suggestions?

    Regards,

    Doug Holland
    Doug Holland, Sep 8, 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:
    0
    Views:
    452
  2. Replies:
    1
    Views:
    268
    Gabriel Genellina
    Jun 13, 2007
  3. Nathan Sokalski
    Replies:
    1
    Views:
    441
    PJ on Development
    Oct 17, 2008
  4. ashish_gokhale

    Inheriting from dropdownlist

    ashish_gokhale, Feb 2, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    84
    ashish_gokhale
    Feb 2, 2005
  5. Nathan Sokalski

    Cannot use ListItems when inheriting from DropDownList

    Nathan Sokalski, Oct 17, 2008, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    151
    PJ on Development
    Oct 17, 2008
Loading...

Share This Page