Hello,
I have a custom control that is added to the grid column via the UltraControlContainerEditor. I have defined both an editting control as well as a rendering control (which happen to be pointing to different instances of the same class). Everything is working when the grid comes up...editting and rendering are solid and I am happy with it. However, if the main grid is sized smaller so that a horizontal scroll bar appears and I actually scroll to the right and then back...then the control drawing gets messed up. When in rendering mode everything is still fine...however when I click on the control (going to rendering mode) my control rendering is "off".
I have tried with both EnterEditModeMouseBehavior = EnterEditModeAndClick and with this not set...to no avail. Do you have any suggestions?
Hi Chris,
Thanks for the video. I am able to reproduce the issue now. The steps you provided previously don't match up to what you are actually doing to reproduce the issue as shown in the video, so that's probably why I could not get it to happen before.
ChrisBrooks said: If you run the sample, then scroll to the bottom where the UCAuthentication controls are, then activate them, then scroll up and click on one of the radio buttons, then scroll back down and click on the UCAuthentication again, sometime the issue will happen. I will continue to work at the exact way to duplicate the behavior, and when I figure it out, post how to do it here.
Anyway, I still can't reproduce it every time, but there is definately something weird going on in your sample application.
I noticed that when I drag the scroll thumb all the way to the bottom, the last row lines up flush with the bottom of the grid. But as soon as I release the mouse, the grid jumps and everything shifts up and there's a gap between the last row and the bottom of the grid.
This shift is about the same height as the controls shift sometimes when the problem happens. So I think they are related.
My guess is that both issues have the same cause and that it's your CreationFilter. Inside your CustomCreationFilter class, you are changing the Height property on the grid row. This is a very bad idea. The UIElements in the grid are created an positioned based on the properties that the grid returns. You should never set properties on the 'real' grid objects inside a CreationFilter.
It looks like you are simply trying to determine the correct height for the row, but you cannot do this inside a CreationFilter.
If I leave the CreationFilter on and simply remove the line of code that sets the Row.Height, then once again, the problem with the scrollbar goes away and I cannot reproduce the problem you are having, either.
So I'm pretty sure that the problem here is caused by your CreationFilter.
I am attaching the video file here.
Mike,
It has been sent to support@infragistics.com
-Chris
You can send the video to Normal 0 false false false EN-US JA X-NONE MicrosoftInternetExplorer4 support@infragistics.com.
Our QA was able to create a video of the problem, but cannot compress it down to less than 3 Megs. How would i be able to get this to you?