This is a migrated thread and some comments may be shown as answers.

progress bar column's problem

4 Answers 119 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
di
Top achievements
Rank 1
di asked on 14 Feb 2011, 03:42 AM
Hi Telerik Team
     I use version Q2 2009.
     I use following code to add progress bar as a column
"            if (e.CellElement.ColumnInfo is GridViewDataColumn && ((GridViewDataColumn)e.CellElement.ColumnInfo).FieldName == "Progress")
            {
                if (e.CellElement.Children.Count > 0)//the progress bar is already added to cell                         
                    return;

                RadProgressBarElement element = new RadProgressBarElement();
                element.Minimum = 0;
                element.Maximum = 100;
                element.Value1 = 70;
                element.Value2 = 90;

                e.CellElement.Children.Add(element);
            }"

Everything seems to be OK, but when windows bar is scrolled down and scrolled up, the sequence of progress bar is changed.

I find that someone said it is because some cells are reused to make radgridview be quick.

Can you give me a solution to make progress bar column didn't change when windows bar is scolled down and up.

Thank you very much.

4 Answers, 1 is accepted

Sort by
0
di
Top achievements
Rank 1
answered on 16 Feb 2011, 07:20 AM
Q3 2010 has no problem. so I will update whole project to the new telerik.
0
Ivan Petrov
Telerik team
answered on 16 Feb 2011, 05:43 PM
Hello di,

Thank you for writing.

We are happy to hear the positive feedback.

If you encounter any difficulties during the upgrade process we will be happy to help the best way we can.

Regards,
Ivan Petrov
the Telerik team
0
Alfonsina
Top achievements
Rank 1
answered on 26 Jun 2012, 08:12 AM

Hallo Telerik Team,

I have the same Problem with the Progress Bar Column. I have a RadGridView and there I have a Progress bar column, and when the gridView scrolls down or up, the progress bars content are missing and they do what they want.

How can I this problem lösen? Should I use the scrollbars programatically? I dont know what I should do.

The Telerik version is: v.2012.1.321.40

Thanks in advance!

Regards

Alfonsina

0
Nikolay
Telerik team
answered on 26 Jun 2012, 08:26 AM
Hello Alfonsina,

I would kindly ask you to send us a compilable sample project that demonstrates the issue in the support ticket that you have opened about the same topic. This project will allow us to get the whole picture of your scenario, hence we will be able to provide adequate suggestions.

Thank you for your cooperation. I am looking forward to your reply in the support thread.

All the best,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
ProgressBar
Asked by
di
Top achievements
Rank 1
Answers by
di
Top achievements
Rank 1
Ivan Petrov
Telerik team
Alfonsina
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or