on InitializeRowEvent I assign UltraControlContainerEditor to EditorComponent of cell. its added successfully. but the problem is that control show only when we mouse over it or click on sell.
e.g dropdown or any control .
i am adding in following way .
UltraControlContainerEditor uce= new UltraControlContainerEditor();
Infragistics.Win.UltraWinEditors.UltraComboEditor cmb = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
cmb.Items.Add(lstItem);
cmb.DropDownStyle = DropDownStyle.DropDownList;
uce.EditingControl = (Control)cmb
e.Row.Cells["Answer"].EditorComponent = uce;
Hi Tariq,
I believe the issue is that you have not set a RenderingControl on the UltraControlContainerEditor.
Take a look at the example in our docs, which demonstrates how to Embed Any Control within WinGrid Cell using UltraControlContainerEditor.
Please let me know if you have any questions.
its supporting thats why its showing . we can see checkboxes in cell which are in usercontrol .
but we un able to check/uncheck those check boxes.
The Rendering control will be drawn to a Bitmap. Any control used as the Rendering control must support the DrawToBitmap method.
Does your UserControl support DrawToBitmap?