3 Answers, 1 is accepted
0
Hi David,
This is how you can start Custom Progress:
I hope this helps.
Regards,
Hristo Valyavicharski
Telerik
This is how you can start Custom Progress:
protected
void
Button1_Click(
object
sender, EventArgs e)
{
RadProgressContext context = RadProgressContext.Current;
context.SecondaryTotal =
"100"
;
for
(
int
i = 1; i < 100; i++)
{
context.SecondaryValue = i.ToString();
context.SecondaryPercent = i.ToString();
context.CurrentOperationText =
"Doing step "
+ i.ToString();
if
(!Response.IsClientConnected)
{
//Cancel button was clicked or the browser was closed, so stop processing
break
;
}
// simulate a long time performing the current step
System.Threading.Thread.Sleep(100);
}
}
I hope this helps.
Regards,
Hristo Valyavicharski
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 20 Mar 2015, 12:10 PM
Hristo,
My question is regarding situation with logic located in dll. In case my problem isn't clear, from inside the dll i can't access Progress Area which is on the page.
Is there some way to send updates to Progress Area from dll?
My question is regarding situation with logic located in dll. In case my problem isn't clear, from inside the dll i can't access Progress Area which is on the page.
Is there some way to send updates to Progress Area from dll?
0
There is no way to access RadProgressArea from external assembly. I suggest that you refer this assembly to your web application and call the logic from the code behind of the web page where the RadProgressArea is.
Regards,
Hristo Valyavicharski
Telerik
Regards,
Hristo Valyavicharski
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.