Prevent UpdateProgress-control of triggering

Last post 12-01-2008 10:13 PM by Vince Xu - MSFT. 1 replies.

Sort Posts:

  • Prevent UpdateProgress-control of triggering

    11-30-2008, 12:22 PM
    • Member
      355 point Member
    • k000der
    • Member since 02-21-2006, 1:17 PM
    • Posts 206

    I have an UpdateProgress bar inside user control. Whenever I click Save-button, UpdateProgress-control display "Data loading" text. This is what I want and everything works as wanted. However I have a linkbutton inside that same user control, which displays a help panel when clicked and in that case I don't want UpdateProgress to execute. Is there a way to disable UpdateProgress when a certain control is clicked (like LinkButton in this case) ?

  • Re: Prevent UpdateProgress-control of triggering

    12-01-2008, 10:13 PM
    Answer

    Hi,

    You can put the controls that needs to show updateProgress into an UpdatePanel. And set AssociatedUpdatePanelID property of UpdateProgress to this UpdatePanel. LinkButton can be put into another UpdatePanel. The UpdateProgress will be shown only when the associated UpdatePanel is updated.

    See this link for UpdateProgress: http://www.asp.net/AJAX/Documentation/Live/tutorials/IntroductionUpdateProgress.aspx


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (2 items)
Microsoft Communities