Hi
I've created a composite control with a grid and a bunch of other controls. when I place the custom control on a form, I'm not able to design the grid. Has anyone come across this or is this possible at all?
Thanks
Gautam
I believe this is normal behaviour, since it is your composite control that defines and configures your grid.
Maybe it works if you make your grid public, instead of private... But I doubt it...
Thanks. I have tried that. But it does not work. However, a colleague of mine has suggested a workaround to expose a public property from a user control and use that to design the grid.
public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public Infragistics.Win.UltraWinGrid.UltraGrid TheGrid { get { return ultraGrid1; } } }