Hi , I have to do a list of thumb images with on the left side a dropdown to select a print format
but whe I try to add a RadDropDownList
to this.Children in the CreateChildElements event I get this error "unknown method add(Telerik.WinControl.UI.RadDropDownList) of telerik.wincontrol.radElementCollection
here is the code
thanks in advance for any suggestion
ciao
but whe I try to add a RadDropDownList
to this.Children in the CreateChildElements event I get this error "unknown method add(Telerik.WinControl.UI.RadDropDownList) of telerik.wincontrol.radElementCollection
here is the code
protected override void CreateChildElements()
{
base.CreateChildElements();
this.stackLayout = new StackLayoutPanel();
this.stackLayout.Orientation = Orientation.Horizontal;
this.contentElement = new LightVisualElement();
this.contentElement.StretchHorizontally = true;
this.contentElement.MinSize = new Size(220, 2200);
this.stackLayout.Children.Add(this.contentElement);
imageElement = new clsBackDropItem(null,160,106);
imageElement.ImageLayout = System.Windows.Forms.ImageLayout.Center;
this.stackLayout.Children.Add(this.imageElement);
this.buttonElement2 = new RadButtonElement();
this.buttonElement2.Text = "Button2";
this.stackLayout.Children.Add(this.buttonElement2);
this.dd=new RadDropDownList();
this.stackLayout.Children.Add(this.dd);
this.Children.Add(this.stackLayout);
thanks in advance for any suggestion
ciao