gvCourse_OnRowCommand
btnOk_ActiveDeactiveCoursePopup
<asp:Panel ID="pnlActiveDeactiveCourse" runat="server" class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable " Width="600px" Style="display: none;" DefaultButton="btnCancel_ActiveDeactiveCoursePopup"> <asp:UpdatePanel ID="udpActiveDeactiveCourse" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Button ID="btnDummy_ActiveDeactiveCoursePopup" runat="server" Style="display: none" /> <cc1:ModalPopupExtender ID="MPActiveDeactiveCourse" BehaviorID="MPActiveDeactiveCourse" runat="server" TargetControlID="btnDummy_ActiveDeactiveCoursePopup" PopupControlID="pnlActiveDeactiveCourse" BackgroundCssClass="modalBackground" X="300" Enabled="True" PopupDragHandleControlID="pnlActiveDeactiveCourse"> <Animations> <OnShown> <Sequence> <Parallel Duration=".2" Fps="25" > <FadeIn /> </Parallel> </Sequence> </OnShown> <OnHiding> <Sequence> <Parallel Duration=".2" Fps="25"> <FadeOut /> </Parallel> </Sequence> </OnHiding> </Animations> </cc1:ModalPopupExtender> <div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"> <asp:Label ID="lblCaption_ActiveDeactiveCoursePopup" class="ui-dialog-title" runat="server"></asp:Label><a href="#" onclick="$find('MPActiveDeactiveCourse').hide(); return false;" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div> <div id="Div5" class="ui-dialog-content ui-widget-content" runat="server"> <div> <%--<UC:Message ID="msgStatus" runat="server" />--%> <asp:Label ID="lblConfirmation" runat="server"></asp:Label> </div> </div> <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"> <div class="ui-dialog-buttonset"> <asp:Button ID="btnOk_ActiveDeactiveCoursePopup" runat="server" CausesValidation="false" SkinID="JQBtn" OnClick="btnOk_ActiveDeactiveCoursePopup_Click" /> <asp:Button ID="btnCancel_ActiveDeactiveCoursePopup" runat="server" Text="Cancel" OnClientClick="$find('MPActiveDeactiveCourse').hide();return false;" SkinID="JQBtn" /> </div> </div> </ContentTemplate> </asp:UpdatePanel> </asp:Panel>
<asp:updatepanel id="UpdatePanel" runat="server" xmlns:asp="#unknown"> <Triggers> <asp:PostBackTrigger ControlID="your button id" /> </Triggers> </asp:updatepanel>
<asp:Button ID="btnOk_ActiveDeactiveCoursePopup" runat="server" CausesValidation="false" SkinID="JQBtn" OnClick="btnOk_ActiveDeactiveCoursePopup_Click" OnClientClick="$find('MPActiveDeactiveCourse').show();return false;"/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)