Using controls which has scripts and images as embedded resources



Hi all,

I am creating a web part that uses a custom control (defined in a custom
strongly signed assembly) which in turn uses some images and scripts that
are embedded as resources in the custom assembly. The control uses asp.net
2.0's resource loading mechanism to retrieve the images and scripts during
runtime from the client - this works without any problem outside SharePoint.

But, when this control is used in a WebPart, the referenced script and
images don't get loaded on the client IE browser.

ASP.Net 2.0 uses custom http handlers to provide the resources to the client
and that obviously doesn't work in a Sharepoint environment. Any ideas how
to fix or workaround this?

Thanks
Praveen


.



Relevant Pages

  • Re: Are resource (.bmp files) that are embeded in a custom control, duplicated in memory for each us
    ... each form that you add your custom ... titlebar control to instantiates it's own copy of the imbedded images. ... So this custom control has embedded resource files of the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: recommendation
    ... Create a Control based object that can ... display either a collection of images or uses a collection of custom objects ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... >> create a control that uses say, an array of images for layers. ...
    (microsoft.public.dotnet.framework.drawing)
  • Adding custom control on custom datagridviewcell
    ... This control is static with no events and it is only made ... My cell inherits the DataGridViewImageCell and on GetFormattedValue I ... My experiments with bringing images from resource files ... Any examples on how to use custom control on custom cell? ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Custom Command Button
    ... Express 6 toolbar, with dynamic position you can drag the whole toolbar to ... Toolbar, of course, use your existing ImageList control. ... > The images I am using are of the whole 3d button itself. ... >>> I would like to have custom command buttons on my forms. ...
    (microsoft.public.vb.general.discussion)
  • RE: Custom control code serialization to class file
    ... Custom control code serialization to class file ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)