[CLOSED] Event handler before direct event handlers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Event handler before direct event handlers

    I have custom control, which has some kind of "dynamic" content. On control I have several direct events as handler on toolbar buttons.
    Is there any method/event handler to override on control, which is fired BEFORE direct events (so before RaisePostbackEvent...) and AFTER the state of controls (for example my toolbar buttons) are restored.
    I tryed to override OnLoad method on control, but it looks that it's too early becouse state of controls is not restored yet.

    Resume: Inside direct event handler I get correct state, but I want to call some code before direct event code execute. I can do it "manualy" in all event handlers ... but question is is it possible to call it before any/all direct event on control fires?

    Thanks for reply

    Matej
    Last edited by Daniil; Jul 06, 2011 at 12:58 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 5
    Last Post: Jun 25, 2012, 6:19 PM
  2. Replies: 3
    Last Post: Oct 14, 2011, 5:05 AM
  3. Replies: 13
    Last Post: Jul 29, 2011, 4:24 AM
  4. Replies: 3
    Last Post: Apr 20, 2010, 12:21 PM

Posting Permissions