I have a panel which expands and collapses.
when ever the panel is expanded or collapsed, it shows a different image to indicate the panel is collapsed or expanded.
however, i need to drive this off the themes folder
please see the code below, when the panel is expanded image changes to exapnded.jpg, but i need these images to sit in the themes folder, and depending on what theme is active, it will pull in the relevent image
the problem is that this page is a shared user control (rules out having it on its own master page or creating a new control just for this)
how would i acheive this (a background image in CSS isn't an option either)
<asp:ImageButton CssClass="togglePanel" ID="ToggleImage" runat="server" ImageUrl="~/images/collapse.jpg" AlternateText="collapse" />