This is a migrated thread and some comments may be shown as answers.

RadProgressManager only one time

5 Answers 223 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 25 Jan 2008, 11:25 AM
Hello,

Using RadProgressManager to monitor a long process thta is not a file upload, when a start a second process frm my same web session, the progess bar isn't displayed.

the aspx code is exactly as in prometheu samples
<telerik:radprogressmanager id="Radprogressmanager1" SuppressMissingHttpModuleError=true runat="server" />
<telerik:radprogressarea id="RadProgressArea1"  class="module" runat="server"  Width=100% onclientprogressbarupdating="onClientProgressBarUpdating">
<progresstemplate> etc.

I am also using a radAjaxManager in this page with radscriptmanager.

The button starting the long process is doing a real postback but as on the end of the process the progress area is not hidden (???) I foce a radprogressarea1.Visible=false;

On the next start I do a 
radprogressarea1.Visible=true;

But nothing is displayed, seems to be broken ?
Thanks for help.
CS

5 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 29 Jan 2008, 09:35 AM
Hi,

Thank you for contacting us.
Please, accept our apologies for the delayed reply.

Form the provided description I was not able to understand completely what is the exact scenario you have. What is the role of the RadAjaxManager in your scenario? May be when the first process finishes no postback occurs and for this reason the RadProgressArea does not disappear. How the second process monitoring is started? 

I will need more details on the scenario you have in order to help you with this issue as quickly as possible. That is why, I would like to ask you for a simple running application which demonstrates your scenario and reproduces the problem. Please, also send me a list of simple steps to reproduce the problem. I will be glad to help you.

Looking forward to receiving your reply. 

Kind regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
CSurieux
Top achievements
Rank 2
answered on 29 Jan 2008, 09:58 AM
Hello,

As my application needs MS CRM to run and as I am very short in tim, I can't sent you a test bed.

My procss is very easy to realize:
A button do a postback thta start a long process (40 minutes) on the server.

I uses Telerik Prometheaus RadProgressManager and RadProgressArea to inform the user on the steps of this process using the facilities provided by this tool.

When the postback ends, the radprogress area stay displayed and I have to force a RadProgressArea1.Visible = false to hide it.

But if I press again on my start button, even setting back RadProgressArea1.Visible =true using a radAjaxmanaged event (in fact a drop down list selection Change event) the RadProgressArea is no more displayed.

Is it enough clear for yopu to create a small test bed and come back to me ?
I think it is a bug.

Thanks for help.
CS
0
Sophy
Telerik team
answered on 29 Jan 2008, 03:10 PM
Hi,

We were not able to reproduce the problem with our testing page. You can take a look at the online Monitoring Custom Progress example so that you can test it and see how the progress area disappears when the custom progress monitoring finishes. Why does the progress area stays visible on the page in your case when the custom process has finished?

I suggest you try to hide the progress area with the code below instead using the Visible property of the progress area:
Javascript
function onClientProgressUpdating(radProgressArea, args)  
{  
    if(parseInt(args.get_progressData().SecondaryValue) == 100)  
    {  
        $find('<%= Area1.ClientID%>').cancelClicked = true;    
    }  
}  


ASPX
<telerik:radprogressarea id="Area1" runat="server" onclientprogressupdating="onClientProgressUpdating"/> 

If you continue to experience the problem, please, send us more details. To provide further assistance we need more information about your scenario.

All the best,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
CSurieux
Top achievements
Rank 2
answered on 29 Jan 2008, 11:10 PM
Fine, you make me realize that I have to set SecondaryValue = SecondaryTotal = SeondaryPurcent="100" to hide the progress area.
Thta was not the case and progressarea never disapeared. now it's ok and I could restart as many time I want!

Thanks.
CS
0
Petya
Telerik team
answered on 31 Jan 2008, 07:44 AM
Hello Christian Surieux,

As far as we understand you have solved your problem. In case you have any other problems, please contact us again.

Regards,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
CSurieux
Top achievements
Rank 2
Answers by
Sophy
Telerik team
CSurieux
Top achievements
Rank 2
Petya
Telerik team
Share this question
or