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
400
progress bar in a Column
posted

hello All ,

 

I hv added unbound column to bounded ultraWinGrid in runtime . And showing  UltraProgressBar in that column. I am  showing the progress of downloading file in Progressbar.

 

Dim upb As New Infragistics.Win.UltraWinProgressBar.UltraProgressBar

 

                upb.Visible = True

                Me.Controls.Add(upb)

                upb.Style = Infragistics.Win.UltraWinProgressBar.ProgressBarStyle.Continuous

 

                 oRow.Cells("Download").EditorControl = upb

                upb.Minimum = 0

                upb.Maximum =100

                upb.Value = 0

 

 

 I want to hide  the progress bar after completing  the downloading. So I put code as

 

        oRow.Cells("Download").EditorControlResolved.Visible = False

        oRow.Cells("Download").Refresh()

 

 I don't want to refresh whole grid or a required row , only want to refresh cell which contanis progress  bar .

 

But could not able to hide the progress bar.

 

What is the right method to do this ???

 
Parents
  • 45049
    Verified Answer
    posted

    I don't think there's a single property you can set to accomplish this.

    The approach I suggest is, instead of putting a single WinProgressBar as the editor of the whole column.  Instead, I'd refer each cell in that column to use the single WinProgressBar as its editor control (when you want to display a value), and then you can clear the EditorControl of that individual cell when you no longer want to display the progress bar.  You'll also have to clear the value of the cell when you remove the editor control; otherwise you'll show the underlying number in the cell.

Reply Children
No Data