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
1440
UltraControlContainerEditor Question
posted

Hello

Attached you'll find 4 screenshots of a wingrid that is using a UltraControlContainerEditor (UCCE).  The issue that I'm experiencing is when the edit control within the UCCE is painted, it will become distorted under the following scenario:

The "Start" screenshot shows the editor control (which is a user control) contained in the UCCE displayed properly on the last completely visible row in the wingrid.  When I select the row that is partially visible to become the selected row, the grid positions the row so it is completely visible in the grid.  When I go into edit mode of the UCCE, i get the display as shown in the "Next 1" screenshot.  If I continue to do this scenario, each display gets progressive worse (see "Next 2").  Also, the layout of the users control remains distorted on all subsequent displays (see "Final")

In the user control used in the editor containor of the UCCE, all autosize are set to False; the Anchors are all Top,Left; and all object min and max sizes are set to 0,0.  I'm using version 10.2 

Questions

Is this distortion a result of the editor control being drawn beyond the grid?

How can I force the dropdown to stay within the size of it's parent?  Specifically, can I cause the dropdown to spawn above the row?

Can I force the re-rendering of the user control within the UCCE to correct the distortion issue on subsequent uses?

Thanks

Clay Seifert

 

Start

 

Next1

Next2

Final