Click here to Skip to main content
15,916,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi to all,
I need progress bar for my overall.below code i used in my page master.how to call this in my buttonclick as well as page load

XML
<asp:UpdateProgress runat="server" ID="uProcess1">
                                                    <ProgressTemplate>
                                                        <progresstemplate>
                                            <div id="divLoading" class="divCenter" >
                                                <img id="imgLoading" src="App_Themes/DefaultTheme/Images/main-loader.gif" align="absmiddle" vspace="0" hspace="0" style="vertical-align:middle" />

                                            </div>
                                        </progresstemplate>
                                                    </ProgressTemplate>
                                                </asp:UpdateProgress>



it is possible to call this id in all page buttonclick and pageload.because i have more than 50 pages so i cant do one by one or any other way to all this progress bar.Kindly tell me.
Posted
Updated 7-Jul-15 2:00am
v2
Comments
Suvendu Shekhar Giri 7-Jul-15 9:07am    
Doesn't button click take you to the page load?
JOTHI KUMAR Member 10918227 7-Jul-15 9:20am    
yes

1 solution

Hi,

first of all, is this working?

I see progresstemplate tags twice.

XML
<ProgressTemplate>
                                                       <progresstemplate>
                                           <div id="divLoading" class="divCenter" >
                                               <img id="imgLoading" src="App_Themes/DefaultTheme/Images/main-loader.gif" align="absmiddle" vspace="0" hspace="0" style="vertical-align:middle" />

                                           </div>
                                       </progresstemplate>
                                                   </ProgressTemplate>



Once you have a progress template in your master page, it should be good to go for all the child pages.

Hope this helps.

Happy coding!
 
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