Ajax Question

Discussion in 'ASP .Net' started by Microsoft Newsserver, May 12, 2008.

  1. Hi,

    I have a table inside and ajax update panel. I have a mouseup event which
    is triggered from the cells in the table. However, then I do an ajax call
    which updates the table, sometimes if I click in the cell, the parent elemtn
    is missing. I guess this is simply the time at which the browser is still
    updating itself after the refresh or its happeing during the table update.

    Is there an event which I can use to upate a variable on my page to prevent
    the actions on these click while the update is in progress.

    Thanks.
    Microsoft Newsserver, May 12, 2008
    #1
    1. Advertising

  2. Microsoft Newsserver

    Teemu Keiski Guest

    Hi,

    you can use for example PageRequestManager's isInAsyncPostBack property
    http://msdn.microsoft.com/en-us/library/bb383989.aspx

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net



    "Microsoft Newsserver" <> wrote in message
    news:...
    > Hi,
    >
    > I have a table inside and ajax update panel. I have a mouseup event which
    > is triggered from the cells in the table. However, then I do an ajax call
    > which updates the table, sometimes if I click in the cell, the parent
    > elemtn is missing. I guess this is simply the time at which the browser is
    > still updating itself after the refresh or its happeing during the table
    > update.
    >
    > Is there an event which I can use to upate a variable on my page to
    > prevent the actions on these click while the update is in progress.
    >
    > Thanks.
    >
    Teemu Keiski, May 12, 2008
    #2
    1. Advertising

  3. Teemu, thank you for your help.

    Most Appreciated.


    "Teemu Keiski" <> wrote in message
    news:%...
    > Hi,
    >
    > you can use for example PageRequestManager's isInAsyncPostBack property
    > http://msdn.microsoft.com/en-us/library/bb383989.aspx
    >
    > --
    > Teemu Keiski
    > AspInsider, ASP.NET MVP
    > http://blogs.aspadvice.com/joteke
    > http://teemukeiski.net
    >
    >
    >
    > "Microsoft Newsserver" <> wrote in message
    > news:...
    >> Hi,
    >>
    >> I have a table inside and ajax update panel. I have a mouseup event
    >> which is triggered from the cells in the table. However, then I do an
    >> ajax call which updates the table, sometimes if I click in the cell, the
    >> parent elemtn is missing. I guess this is simply the time at which the
    >> browser is still updating itself after the refresh or its happeing during
    >> the table update.
    >>
    >> Is there an event which I can use to upate a variable on my page to
    >> prevent the actions on these click while the update is in progress.
    >>
    >> Thanks.
    >>

    >
    >
    Microsoft Newsserver, May 13, 2008
    #3
    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:
    20
    Views:
    1,896
    d1srupt3r
    Mar 31, 2008
  2. darrel

    beginner AJAX questions (AJAX.net)

    darrel, Apr 27, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    2,435
    Flinky Wisty Pomm
    Apr 28, 2006
  3. jobs
    Replies:
    0
    Views:
    364
  4. =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?=

    Deploying ASP.NET AJAX-Enabled Web site to host without AJAX insta

    =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?=, Feb 20, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    589
    Patrick
    Feb 21, 2007
  5. minnie
    Replies:
    1
    Views:
    683
    Andrew Thompson
    Dec 13, 2006
Loading...

Share This Page