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
265
UltraProgressBar in UltraWinGrid
posted

Hello all.

I want to have in my UltraWinGrid an UltraProgressBar.

I searched this forum and I've tried everything you said in previous threads (ex : http://news.infragistics.com/forums/p/11841/44805.aspx#44805 ) but it doesn't work for me.

I've tried 2 aproaches:

1) added an UltraProgressBar next to the grid, set it's Maximum to 100 and Minimum to 0, even the Value to 50. The ProgressBar looks ok. Then in code I'm adding a new column to the grid

e.Layout.Bands[0].Columns.Add("Level", "Level");

and set it's EditorControl property to that progress bar

e.Layout.Bands[0].Columns["Level"].EditorControl = ultraProgressBar1;

I even set the column's MinValue and MaxValue to 0 and 100.

When I run my application, my new column "Level" is always showing 0%.

2) then I tried to create a UltraProgressBar in the code, set's its Maximum, Minimum and Value to the exact values as above, set it as the EditorControl of the "Level" column but the same result.

What am I doing wrong and what do I need to set so that the ProgressBar shows me what I need ?

Note : my UltraWinGrid is in CardView mode, and I want the ProgressBar to be Vertical oriented.

Thank you.

Parents Reply Children