page_load is fired AFTER other properties and functions are called on control - WHY?

Discussion in 'ASP .Net Web Controls' started by Richard Murphy, Aug 7, 2003.

  1. Hi all,

    I have a little, but rather annoying, problem with a control I attempt to
    load into another control. The problem is that the page_load event is
    getting fired after all the other properties on the page have been set. It
    is a navigation control and when these properties (totalpages and
    currentpage) get set it also makes the table visable if appropriate. The
    problem is that the page_load sets the page visable to false hence I do not
    see the control when page_load is run after the properties are set. I
    thought page_load had to be fired in order to be able to access the
    functions and properties on it. Even weirder is that I use the control from
    another control with exactly the same code the the page_load is fired first
    here. Anyone have any idea what is going on here?

    Regards

    Richard
     
    Richard Murphy, Aug 7, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.