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
420
Value not being displayed in UltraProgressBar Control (editor component of grid)
posted

Hello All,

             I am developing a Windows Forms Application and am making use of various Infragistics Controls like UltraWinGrid, UltraProgressBar, checkbox, dropdown,etc; In some of my columns in the ultrawingrid, I have used UltraProgressBar control to display the percentage. But, in a particular column alone, the value is always shown as 0% even if there is a value in the datatable level. I have also used UltraGridExcelexporter which exports the grid to an excel file. But the value is perfectly displayed in the excel file. Even I checked out the properties of that column in the initializelayout. Everything is ok. Could anybody out here tell me where I am going wrong? Is there any data-type restriction for the ultraprogressbar control? I have used double datatype in all the columns where am using ultraprogressbar control

  • 469350
    Suggested Answer
    Offline posted

    I'm pretty sure UltraProgressBar only works with integers.

    You could get around this using a DataFilter to convert your Doubles to Ints. Or you could create an unbound column and use InitializeRow to convert the double to an int.