I have successfully added a radeditor control inside a server compositecontrol:
protected override void CreateChildControls()
{
Controls.Clear();
_txtBox = new TextBox();
_txtBox.ID = "txtEdit";
_edrBox = new RadEditor();
_edrBox.ID = "edrEdit";
_txtBox.TextChanged += new EventHandler(txtBox_TextChanged);
_edrBox.ValueChanged += new EventHandler(edrBox_ValueChanged);
this.Controls.Add(_txtBox);
this.Controls.Add(_edrBox);
}
But the problem is, when the server control is placed inside a formview and that formview is ajaxified by a radgrid (ie, in a master/detail relationship, clicking a row on the radgrid should refresh the details inside a formview), an Ajax javascript error shows up that a null reference is detected at the time of sys.load????
Attached is the javascript code (from microsoft ajax) showing the error where variable a is NULL.