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
625
ProgressBar grid column editorcontrol does not render
posted

I have two grids bound to seperate BindingSource objects.  The BindingSource objects are bound to two seperate BindingList<T> objects.  The idea is that in Grid A, the user can check a box called "Watch" will add the underlying business object to the BindingList<T> bound to Grid B.  Both grids have the same schema which includes a percent complete column.  Each grids has its PercentComplete column's EditorControl set to a seperate instance of UltraProgressBar (so there are two of these).

If a row in Grid A was %Complete = 50% then the cell shows 50% and the visual feedback shows the cell 50% filled.  If the user checks the Watch checkbox, the object is added to the bindinglist of Grid B and displays in Grid B as a new row.  The problem is that the %Complete cell for the row says 50 with no visual feedback from the progress bar.  Its as though the EditorControl reference is lost.  What am I doing wrong?

Thanks,

Paul

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Paul,

    It's hard to say without seeing it in action. There could be any number of reasons why it's not working. 

    You say "Its as though the EditorControl reference is lost". If that's true, then you would be able to click on the cell and enter edit mode like a regular text cell. Is that the case?

    Also, I'm not really clear on what you mean by  "If the user checks the Watch checkbox, the object is added to the bindinglist of Grid B and displays in Grid B as a new row."I guess the Watch checkbox is a column in Grid A and you mean the same row object is being copied from one BindingList to the other. Is that right?

Reply Children