Adding custom button in 6.6

  •  06-30-2010, 2:53 PM

    Adding custom button in 6.6

    I have downloaded version 6.6 and integrated our application with that,

     

    The issue I am running into is that the below code use to work fine,

    But now the image is not showing, please check -

     

    int pos = Editor1.ToolControls.IndexOf("ImageMap") + 2;  

    WebControl ctrl = Editor1.CreateCommandButton("BtnCode", "BC1.gif", "Add custom.");

    ctrl.Attributes.Add("onclick", "return insertButtonClick()");

    Editor1.InsertToolControl(pos, "BtnCode", ctrl);
     
    Regards,
    Gurpreet.
View Complete Thread