Click here to Skip to main content
15,891,765 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
I have a web form with a button control.
On click of a button, I start a sql job. The job takes almost 20 min to complete.
I want to check the progress of the job like out of 100, how many percent has completed.
I want to show a progress bar on the page showing how many percent the job has completed.
As the job takes 20 min to complete, I should be able to navigate to other pages and do the other tasks/transactions. Whenever I return to my JOB page, the progress bar should show me the percent completed.

I use telerik web controls.
Any help appreciated.

Thanks,
Lok..
Posted

1 solution

XML
<telerik:RadAjaxPanel  LoadingPanelID="RadAjaxLoadingPanel1" ID="RadAjaxPanel1" runat="server">
      <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
   </telerik:RadAjaxPanel>
  <telerik:RadAjaxLoadingPanel   ID="RadAjaxLoadingPanel1" Enabled="true" runat="server" > <h1>upload</h1></telerik:RadAjaxLoadingPanel>




1)Put your button inside RadAjaxPanel
2)Place your image with proper css in place of Upload...

You will get to see your image on buttonclick .. and will hide automatically after code exceution...
:)


Is this what , you were looking for ;)

for Percentage follow this URL
http://www.telerik.com/community/forums/silverlight/busy-indicator/inserted-in-the-percentage-of-progress-busycontent.aspx[^]
 
Share this answer
 
v3
Comments
Lokesh Zende 2-Jan-13 8:50am    
Thanks for your reply Gaurav. But this is not what I am looking for. I start a sql job on button click and leave the rest to happen on that job. Mean while I do my other transactions. But whenever I visit the sql job page, it should show me the percent completed by the job. My sql job and this progress bar (or whatever the control may be) should be in sync.
Any help now ?
Thanks.

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