Click here to Skip to main content
13,592,615 members
Rate this:
Please Sign up or sign in to vote.
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.

Posted 23-Dec-12 21:44pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

<telerik:RadAjaxPanel  LoadingPanelID="RadAjaxLoadingPanel1" ID="RadAjaxPanel1" runat="server">
      <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
  <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[^]
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 ?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.180618.1 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100