Custom button image

  •  11-05-2007, 9:15 AM

    Custom button image

    int pos = edtTemplateBuilder.ToolControls.IndexOf("Italic") + 1;

    WebControl formFieldButton = edtTemplateBuilder.CreateCommandButton("FormFieldAdd", "signature.gif", "Add Form Field");

    formFieldButton.Attributes["onclick"] = "ShowFFDialog(this)";

    edtTemplateBuilder.InsertToolControl(pos, "FormFieldAdd", formFieldButton);
     
    I added a custom button like as above. How must I specify the image. I tried everything, and all I get is a broken image.
View Complete Thread