I've added a custom button to my tool bar but when I rollover the image it doesn't change like the other buttons do. Here's the code I'm using:
tc = Editor1.ToolControls["tokenspersonal"];
if (tc != null)
{
// personal tokens
Image1 = new System.Web.UI.WebControls.Image();
Image1.ToolTip = "Insert Personalization Tokens";
Image1.ImageUrl = "~/Editor/Images/mycustombuttonimage.gif";
Image1.CssClass = "CuteEditorButton";
Image1.Attributes["onclick"] = "ShowTokensPersonal(this)";
tc.Control.Controls.Add(Image1);
}
Is there a different CssClass I should be using? Thanks!