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:
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?