Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
How to set Maximum Value of ultraWinProgressBar On UNknown Condition
posted

Hello there ,,,

 

I Have gone through the example of ProgressBarDEmo.Zip code given by Brian from the below link..

http://community.infragistics.com/forums/t/46701.aspx

In the belowcode from the given Project, Progress Bar MAximum Value is set to 100.

  this.progressBar.Maximum = 100;

From My Condition, I don't know Maximum value of Progress Bar, Since i am Calling Child form through which i  get Excel Files Values.

So how to implement windows Progress Bar in Parent Form in the above condition.

Please Help me out to fix this

 We have using vb.net, VS 2010 and Infragistics 2 version 10.3.20103.1000

 

 

  • 48586
    posted

    Hi,

     

    I just wanted to know if you were able to solve your issue based on my suggestions or you still need help?

    Just let me know.

    Thank you.

  • 48586
    posted

    Hello,

     

    UltraProgressBar is designed to display the progress of some task. Usually, to inform the customer about the progress of some task we are using rate. So customer has an idea what part of the task was completed.  So if you know the total value of the task and current value you could calculate what part of this task was completed if you divide current value on total value and multiply this by 100. For example if we iterate a grid with 800 rows and currently we are on 158 row, we could calculate (158/800)*100 = 19.75%.  If we do not know the total value of the task (there is no way to calculate it) and also we do not know the current value, then we could use UltraActivityIndicator just to inform the customer that our application working on a task. More about UltraActivityIndicator you could find on the following link:

    http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/WinActivityIndicator.html

     

     

    Please let me know if you have any further questions.