i am creating a custom control (RCB) that extends RadComboBox.
i want to add a child control(textbox) for the RCB, so whenever an RCB is created, a textbox will be created.
i managed to do this by overrideing OnPagePreLoad of RadComboBox, and add Page.Form.Controls.Add(textbox);
everything works fine (ie. textbox is created with every RadComboBox) untill i use RCB in a gridview edit panel (where only RadComboBox is created and not the textbox).
how can i fix this issue?is there a better way to add a control to another control?