Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

I have a gridview.I am calling the modalpopup in
gvCourse_OnRowCommand
this event.The modal popup displays perfectly. But when i click the
btnOk_ActiveDeactiveCoursePopup
the event fires in IE but not in firefox.Can you help me. It is urgent for release.

Regards
froxy






XML
<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>
Posted
Updated 15-Sep-11 21:57pm
v2
Comments
Sunasara Imdadhusen 16-Sep-11 3:58am    
Don't show urgency

Try this one

Place trigger tag in update panel
like..

XML
<asp:updatepanel id="UpdatePanel" runat="server" xmlns:asp="#unknown">
<Triggers>
    <asp:PostBackTrigger ControlID="your button id" />
    </Triggers>
</asp:updatepanel>
 
Share this answer
 
Please try following:

VB
<asp:Button ID="btnOk_ActiveDeactiveCoursePopup" runat="server" CausesValidation="false" SkinID="JQBtn" OnClick="btnOk_ActiveDeactiveCoursePopup_Click" OnClientClick="$find('MPActiveDeactiveCourse').show();return false;"/>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900