<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <asp:UpdatePanel ID="PleaseWaitPanel" runat="server" RenderMode="Inline"> <ContentTemplate> <asp:DropDownList ID="cmbTrabalhador" runat="server" Width="300px" style="margin-left:-4px;" AutoPostBack="True" onselectedindexchanged="cmbTrabalhador_SelectedIndexChanged"> </asp:DropDownList> <asp:Button ID="cmdpreenche" runat="server" Text="Preencher/Actualizar Lista" OnClick="cmdpreenche_Click" /> </ContentTemplate> <triggers> <asp:AsyncPostBackTrigger ControlID="cmbTrabalhador" EventName="SelectedIndexChanged" /> </triggers> </asp:UpdatePanel> </div> <asp:Panel ID="PleaseWaitMessagePanel" runat="server" CssClass="modalPopup" Height="50px" Width="125px"> Please wait<br /> <img src="img/ajax-loader.gif" alt="Please wait" /></asp:Panel> <asp:Button ID="HiddenButton" runat="server" CssClass="hidden" Text="Hidden Button" ToolTip="Necessary for Modal Popup Extender" /> <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BehaviorID="PleaseWaitPopup" TargetControlID="HiddenButton" PopupControlID="PleaseWaitMessagePanel" BackgroundCssClass="modalBackground"> </asp:ModalPopupExtender>
PostBackTrigger
AsyncPostBackTrigger
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)