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

CurrentOperationText for a Custom Process

7 Answers 84 Views
ProgressArea
This is a migrated thread and some comments may be shown as answers.
john81
Top achievements
Rank 1
john81 asked on 21 Aug 2013, 03:20 PM
I have a custom process I'm using the RadProgressArea for.  I'd like to customize the text shown on the RadProgressArea so it doesn't say anything about files or file upload similar to the demo page (http://demos.telerik.com/aspnet-ajax/progressarea/examples/customprogress/defaultcs.aspx).  I'm following the steps on this page, http://www.telerik.com/help/aspnet-ajax/progressarea-customprogress.html, but the message under the progress bar says "Uploaded files" and the message that is set using CurrentOperationText has "Uploading file" before the message.  How can I get rid of "Uploading file:" in the CurrentOperationText message?  See attached for what I'm seeing.


7 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 26 Aug 2013, 02:55 PM
Hi John,

Try to set the UploadedFiles localization property to an empty string:
protected void Page_Load(object sender, EventArgs e)
   {
       RadProgressArea1.Localization.UploadedFiles = "";
       RadProgressArea1.Localization.CurrentFileName = "Step: ";
       RadProgressArea1.Localization.TotalFiles = "Total Steps:";
   }

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
john81
Top achievements
Rank 1
answered on 26 Aug 2013, 07:01 PM
Thanks for the reply.  That did get rid of the uploading files message for both the current operation text and the text under the progress bar.  Is there any way to set the text under the progress bar to something other than null or "Uploaded files"?
0
Hristo Valyavicharski
Telerik team
answered on 29 Aug 2013, 04:15 PM
John,

RadProgressArea is very flexible and customizable control. Almost everything can be positioned with css. Please make a screenshot of this how you want to look and I will try provide you a working code.

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
john81
Top achievements
Rank 1
answered on 29 Aug 2013, 05:51 PM
Ideally what I'd like to do is set text in the area right under the temperature bar.  I highlighted that area in the attached screenshot.  Right now it's putting the SecondaryPercent with the SecondaryTotal in parentheses next to it.  What Id like it to be is:

Report compiling 56% complete (15 out of 33)
0
Hristo Valyavicharski
Telerik team
answered on 04 Sep 2013, 06:57 AM
Hi John,

The best option for this scenario is to use Progress Templates. However I'm attaching small sample without them. Please check it out.

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
john81
Top achievements
Rank 1
answered on 05 Sep 2013, 03:21 PM
There is a stylesheet in the .aspx file "styles.css" that was not in the zip file you posted.  Can you post that css file?
0
Plamen
Telerik team
answered on 10 Sep 2013, 02:07 PM
Hi John,

 
Here is the sample code that will customize the Progress area:

<style type="text/css">
 
      #RadProgressArea1_Panel_SecondaryTotal {
      background-color:yellow;
      }
      #RadProgressArea1_Panel_SecondaryValue {
      background-color:red;
 
      }
      #RadProgressArea1_Panel_SecondaryPercent {
      background-color:blue;
      }
  </style>

Hope this will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
ProgressArea
Asked by
john81
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
john81
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or