Following code works fine for IE, but not for Firefox ::
int pos = Editor1.ToolControls.IndexOf("InsertEmotion") + 1;
WebControl ctrl = Editor1.CreateCommandButton("BtnInsertImage", "image.gif", "Insert Image");
ctrl.Attributes.Add("onclick", "return insertImageButtonClick()");
Editor1.InsertToolControl(pos, "BtnInsertImage", ctrl);
On button click we are getting this alert - Command 'BtnInsertImage' Is Not Supported Or Not Implemented