Missing web control reference in user control

Discussion in 'ASP .Net Web Controls' started by Chris Szabo, Jun 8, 2006.

  1. Chris Szabo

    Chris Szabo Guest

    Good morning everyone.

    I've developed several user controls (ascx) each of which contain standard
    WebControls. When I run the web application the user controls load correctly
    and the web page is displayed in my browser.

    In some cases, before the control is rendered, I need to enable or disable
    some of the WebControls. So, in the OnPreRender event for the user control,
    I perform some condition checking, and if necessary disable one or more
    WebControls.

    This is where I'm running into a problem. When I reference the control in
    the code behind I get a missing reference exception at runtime. In the IDE
    all the references seem intact.

    Has anyone run into the problem before?
     
    Chris Szabo, Jun 8, 2006
    #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. ABC
    Replies:
    1
    Views:
    2,658
    Larry
    Oct 4, 2005
  2. ABC
    Replies:
    0
    Views:
    491
  3. Sebastian Paul
    Replies:
    2
    Views:
    513
    Sebastian Paul
    Jul 27, 2007
  4. ABC
    Replies:
    0
    Views:
    215
  5. cypress phill

    reference.vb missing after web reference update

    cypress phill, Mar 29, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    162
    cypress phill
    Mar 29, 2006
Loading...

Share This Page