L
Lloyd Dupont
At some stage I'm inherithing from a kind of 'web component' which don't
inherit from SWU.Control and have no ClientScript property.
However I need to know (in order to make it work) an URL which will return
an image in my assembly's resource.
You know the url kind of: 'WebHandle.axd?a=VIBUINUIHBNVUH'
I tried something like:
ClientScriptManager csm = new ClientScriptManager();
base.ButtonImage = csm.GetWebResourceUrl(GetType(),
"WebUtils.Resources.PictureBox.gif");
But ClientScriptManager has no public constructor....
Any idea of what workaround I could use?
inherit from SWU.Control and have no ClientScript property.
However I need to know (in order to make it work) an URL which will return
an image in my assembly's resource.
You know the url kind of: 'WebHandle.axd?a=VIBUINUIHBNVUH'
I tried something like:
ClientScriptManager csm = new ClientScriptManager();
base.ButtonImage = csm.GetWebResourceUrl(GetType(),
"WebUtils.Resources.PictureBox.gif");
But ClientScriptManager has no public constructor....
Any idea of what workaround I could use?