Hello
I have a ultradropdownbutton user control that pops a ultrapanel. It is include as the editing control withing a ultracontrolcontainereditor. When the ultrawingrid is filled with the data and I go into edit mode for the column that the ultracontrolcontainereditor is associated with, it doesn't fill up the available space in the grid cell. How do you force this to take place when the cell size is dynamically set via the AutoFitStyle.ResizeAllColumns for the ultrawingrid?
Thanks
Hi,
Like I said, the UltraControlContainerEditor will size the control to the grid cell.
I'm not sure I undertsand what you are expecting to happen here, but it looks like the text of your control is getting clipped.
So either the UseControl has a MinimumHeight or some other property setting that prevents the height from being reduced.
Or... the height of your UserControl is being reduced, but the control inside that UserControl that provides the text is not being reduced.
Or, the control is being reduced in height, but whatever control you are using to provide the text simply cannot handle a height that small and is clipping the text.
As a very simple text, trying putting an instance of your UserControl on your form and set it's height to the height of the grid cells here. My guess is that you are going to get the same result - clipped text in your UserControl.
Hi Mike
Yes -- the control is sizable and the autosize=false. I'm currently using NetAdvantage 10.3.20103.1000. See attached screen shots
This is the user control. The size of the control is 171px by 24px.
This is the grid containg the user control in column ScheduleText
This is when the control goes into edit mode. It doesn't adjust the heigth and width of the control
When completely expanded, the popup correctly displays at the bottom of the dropdown but because the dropdown is not completely visible vertically, the top portion of the row under is visible.
The EditingControl is automatically resized by the ControlContainerEditor to fit the cell it is being displayed in. If that is not happening, then something is wrong.
Are you sure your EditingControl is sizeable? Is there an AutoSize property? If so, you will need to turn that off.
What version of the controls are you using? This could be a bug in the version you are using. Try getting the latest service release and see if that helps.
How to get the latest service release - Infragistics Community
If not, perhaps you can post a small sample project here which demonstrates the issue.