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


Here i got one requirement ie i have a ajax modal popup in that two textfield is there and one button is there....when i click a button i need to send one mail...for sending mail it takes time,at that time i need to show progress bar...i cant able to add progress bar image within a modalpopup....


please........
Posted
Comments
sri senthil kumar 4-Mar-13 2:56am    
Are you using any control for progress bar just a preloader image (like animated gif images)?

If you want any simple preloader then you can do with simple javascript by showing the loader icon on OnClientClick of the button.

1 solution

XML
<asp:UpdatePanel ID="updgvProd" runat="server" UpdateMode="Conditional">
                                                                        <ContentTemplate>
                                                                            <!-- your code... -->

                                                                            <asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="updgvProd">
                                                                                <ProgressTemplate>
                                                                                    <div id="Background">
                                                                                    </div>
                                                                                    <div id="Progress">
                                                                                        <img src="../Image/loading.gif" alt="progress" style="vertical-align: middle" />
                                                                                    </div>
                                                                                </ProgressTemplate>
                                                                            </asp:UpdateProgress>
                                                                        </ContentTemplate>
                                                                    </asp:UpdatePanel>
 
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