Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Plug-in (Toolbase) setting the icon




As posted earlier on Developer to Developer, I'm having a problem with the IconBase of the ToolBase class.

I have created a tool for inserting flash which works fine, but I want it to be displayed as an icon in the Toolbar. I have set the IconBase of the class in Initialize() to

IconBase = EPiServer.UriSupport.SiteUrl.ToString() + "Plugin/eye.png";

Now, when I run in debug mode and break in the override OnRender method, I get the following icons:

  1. iconOff = http://localhost:6666/EPiOfficeSite/Plugin/eye_off.png
  2. iconOver = http://localhost:6666/EPiOfficeSite/Plugin/eye_over.png 

But when I get out of breakmode and rightclick on the (not displayed) image and look at the properties, I get the following URL:


For some reason right before rendering the control it puts the Default Theme path before it.


Can someone help me with this please?

Many thanks,


Nov 12, 2008 10:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.