Hi,
I have a question about adding a UltraContainerControl in UltraGridCell by EditorComponent property. In fact, I develop a user control wich contains a checkbox and a button.
I assigned this user control to UltraContainerControl for RenderingControl and EditingControl (UltraContainerControl).
When I want to check or uncheck checkbox, or click on button, i 've to click twice in cell to do action in user control. One for activate usercontrol and one other for action in checkbox or button.
Is it possible to do with only one cell clik ?
Thanks a lot.
What happens is that when the cell is not in edit mode, it displays the RenderingControl as an image. When you click the cell it goes into edit mode and places your EditingControl over the cell. But the mouse message already occurred and was consumed by the grid. So you need a second click to actual perform an action on your control.
The UltraControlContainerEditor can handle this for you, though, by forwarding the mouse message to the control after it goes into edit mode. All you have to do is set EnterEditModeMouseBehavior on the UltraControlContainerEditor to EnterEditModeAndClick.
Hi, Thanks for your answer.
I've set EnterEditModeMouseBehavior on the UltraControlContainerEditor to EnterEditModeAndClick. My user control contains an UltraCheckEditor and an UltraPictureBox. With this property, click event on my image work fine. But with my UltraCheckEditor, I stille have a problem because it doesn't check or uncheck all the time.
I took the "ControlContainerEditor" project (Same Edit and Render control) for sample because it's the same problem in my other project. I added a new UltraCheckEditor in "AddressControl" to illustrate the problem. When you click on UltraCheckEditor, it doesn't check or uncheck all the time.
I attached sample project in this replay. Would you look at the problem to see if you are able to reproduce it ?
This looks like it's probably a bug. Basically, the UltraControlContainerEditor is forwarding a MouseDown message to the control under the mouse. This is fine to trigger the click of a button or to set focus to a TextBox. But the UltraCheckEditor doesn't respond to a MouseDown alone. It doesn't change it's value until MouseUp.
I'm not sure why it only sends a MouseDown and not a MouseUp, also. It might just be an oversight.
I also noticed that the inbox CheckBox control does change the value on a MouseDown, so it works correctly. So this might even be a bug in UltraCheckEditor, although if that's the case, it's probably not something that we can change at this point.
I'm going to forward this thread over to Infragistics Developer Support so they can check it out and get it fixed one way or another.
I have a similar issue, although mine is with the combo box control. Is there any word on whether this will be addressed in patch and, if so, a ballpark estimate?
This issue has been fixed internally (for the UltraCheckEditor, at least) and will be in the next service release, which is scheduled for the middle of this month (November 2010).
The issue isn't neccessarily limited to just UltraCheckEditor - the fix was in the UltraControlContainerEditor. So it's certainly possible that the same issue is affecting other controls.
But if you are experiencing the same issue with a different control (other than UltraCheckEditor), feel free to post a small sample project here demonstrating the issue so we can test it out and make sure it's fixed.
Yes also have exactly the same issue. It would be good to know when it is going to be fixed. Thank you