Gaia Ajax: Update Control with Modality

Use the update control combined with modality if you have a operation that you know takes a little while on the server and it is important that the user doesn't click again or start any other events.

Note: you will need to handle the construction of modality yourself with CSS. Take a look at the attached styles.css and you will see how to do it.

Trigger Thread.Sleep(2000)

   2:      Trigger Thread.Sleep(2000)<br />
   3:      <gaia:Button ID="zButton1" runat="server" Text="Trigger Modal Update Control"
   4:          OnClick="zButton1_Click" />
   5:      <gaia:Panel ID="zModalUpdateControl" runat="server" Style="display: none;"
   6:          CssClass="ajax-loader-modal">
   7:          <div class="ajax-loader-modal-content">
   8:              Waiting for result...</div>
   9:      </gaia:Panel>