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
885
Unable to update progress bar control embedded in a WinGrid cell
posted

Hi,

I have embedded a UltraProgressbar control inside a cell of WinGrid [by e.Layout.Bands[0].Columns["Result"].EditorComponent = this.ultraProgressBar1; ]

While we can able to successfully update a non-embedded progress bar [ by this.ultraProgressBar1.Value = val; ], we can not achieve the same with the embedded progressbar.

I am using Infragistics 12.1. And tested the behavior on Windows 7 and 8.0.

 Can you let us know how to update/progress this embedded progress bar. 

Thank you.

  • 4625
    Offline posted

    Hello Kiran,

    I am checking about the progress of this issue, please let me know if you need my further assistance on it.

    Thank you for using Infragistics Components.

  • 4625
    Offline posted

    Hello Kiran,

    Thank you for posting in our forums!

    When WinProgressBar is embedded inside a cell of UltraWinGrid, the WinProgressBar value is irrelevant, because UltraWinGrid, based on the editor component, creates cloning for each visible cell of that column  and this cloning is used to display the values for the corresponding cell. Therefore you have to update the value property of the cell.

    You may read the following documentation page about WinProgressBar inside UltraWinGrid:

    http://help.infragistics.com/Help/Doc/WinForms/2011.2/CLR2.0/html/WinGrid_Use_WinProgressBar_inside_WinGrid.html

    In order to gain greater insight I am sending you sample reproducing the desired result. Please run the sample and press a button from the Button Column in order to see how the progress bar value is updated for the corresponding row.   

    I am waiting for your response.

    WinGridUltraProgressBarSample_v12.zip