AJAX & UpdatePanels

Discussion in 'ASP .Net' started by Mike Gleason jr Couturier, Jan 15, 2009.

  1. Hi,

    I need to know something in the OnInit() function of my custom control:

    I want to know, on an ajax postback, if my control is contained in an
    UpdatePanel _being_ updated.

    I can determine whether or not the page is in asynch postback and wheter the
    control is in an UpdatePanel.. but maybe this panel is in Conditionnal
    mode... you see?

    Any Ideas!?
    Mike Gleason jr Couturier, Jan 15, 2009
    #1
    1. Advertising

  2. "Mike Gleason jr Couturier" <> a écrit dans le message
    de news: ...
    > Hi,
    >
    > I need to know something in the OnInit() function of my custom control:
    >
    > I want to know, on an ajax postback, if my control is contained in an
    > UpdatePanel _being_ updated.
    >
    > I can determine whether or not the page is in asynch postback and wheter
    > the control is in an UpdatePanel.. but maybe this panel is in Conditionnal
    > mode... you see?
    >
    > Any Ideas!?


    Nevermind!

    "UpdatePanel..::.IsInPartialRendering Property

    Gets a value that indicates whether the UpdatePanel control is being updated
    as a result of an asynchronous postback."

    Mike
    Mike Gleason jr Couturier, Jan 15, 2009
    #2
    1. Advertising

  3. Forget it damn it, it's always false..

    Any ideas?!
    Mike Gleason jr Couturier, Jan 16, 2009
    #3
  4. "Mike Gleason jr Couturier" <> a écrit dans le message de
    news: %...
    > Forget it damn it, it's always false..
    >
    > Any ideas?!
    >


    It's only available from the Render override! Cool!

    Thanks
    Mike Gleason jr Couturier, Jan 16, 2009
    #4
    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:
    1
    Views:
    587
  2. =?Utf-8?B?QWxleA==?=

    Hiding UpdatePanels / AJAX

    =?Utf-8?B?QWxleA==?=, May 4, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    345
    =?Utf-8?B?QWxleA==?=
    May 4, 2007
  3. =?Utf-8?B?cml2YWxAbmV3c2dyb3Vwcy5ub3NwYW0=?=

    UpdatePanels refresh other UpdatePanels when UpdateMode is 'Condit

    =?Utf-8?B?cml2YWxAbmV3c2dyb3Vwcy5ub3NwYW0=?=, Jul 28, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    420
    Masudur
    Jul 28, 2007
  4. Marc
    Replies:
    5
    Views:
    355
    Steven Cheng [MSFT]
    Aug 27, 2008
  5. Marc
    Replies:
    2
    Views:
    106
Loading...

Share This Page