Adding custom button in 6.6

Last post 06-30-2010, 10:10 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  06-30-2010, 2:53 PM 62144

    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.
  •  06-30-2010, 10:10 PM 62149 in reply to 62144

    Re: Adding custom button in 6.6

    Hi gurpreet,
     
    Please put your own photo "BC1.gif" into folder "\CuteSoft_Client\CuteEditor\Themes\Office2003\Images" and try again.
     
    Regards,
     
    ken
View as RSS news feed in XML