UpdatePanel needs to be updated!

Rate It (1)

Last post 11-28-2007 2:07 AM by jocker_wow. 2 replies.

Sort Posts:

  • UpdatePanel needs to be updated!

    11-22-2007, 2:18 AM
    • Loading...
    • jocker_wow
    • Joined on 01-19-2007, 3:20 AM
    • Egypt
    • Posts 81

    Many developers still asking about UpdatePanel problem with some server side controls, like MultiView and Buttons.

    In this scenario,

    You have built a simple page with MultiView control inside an UpdatePanel, each view will act as a (Wizard Step), and at the end there is a button that asks you if you need to repeat the steps again and go to step 1.

    Problem:

    The button doesn't move you from this view to the first view of the multiview control.

    Solution:

    <asp:Button ID="Button1" runat="server" CausesValidation="false" Text="Button" />

    Simply change the CauseValidation property to false.

    Explanation: 

    CauseValidation means that this button will perform a client side validation, which mean in turn that it will not be able to postback the updatepanel.

    By setting the button - or anyother server side control - you will be able to perform any postback operations.

    Hope that help you!

    Mohamed Nagieb
      
    "Jocker_Wow"

    Regards...
    M.Nagieb
    Jocker_Wow
  • Re: UpdatePanel needs to be updated!

    11-25-2007, 9:05 PM

    Hi jocker_wow,

    Thank you for sharing the information with us. I am marking this thread as
    resolved since it is not a question/answer issue. If you have any question
    to raise, please feel free to reply or simply start a new thread.

    Regards,
    Xun

    Regards,
    Xun Ye.
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that
    helps you, and to click “Unmark as Answer” if a marked post
    does not actually answer your question. This can be beneficial
    to other community members reading the thread.
  • Re: UpdatePanel needs to be updated!

    11-28-2007, 2:07 AM
    • Loading...
    • jocker_wow
    • Joined on 01-19-2007, 3:20 AM
    • Egypt
    • Posts 81

    Hi Contributor,

    Thanks for your responce. Smile

    Regards...
    M.Nagieb
    Jocker_Wow
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter