| 1. |
What Are Classresources? How Do You Reference And Deploy Resources With An Asp.net 2.0 Webpart? |
|
Answer» ClassResources are used when inheriting from the SHAREPOINT.WebPart.WebPartPages.WebPart base class, and are defined in the SharePoint solution file as things that should be stored in the wpresources directory on the server. It is a helpful directory to use in order to deploy CUSTOM IMAGES. In ASP.NET 2.0, typically things such as images are referenced by embedding them as resources within an ASSEMBLY. The good part about ClassResources is they can help to eliminate recompiles to change SMALL interface adjustments or alterations to external JavaScript files. ClassResources are used when inheriting from the SharePoint.WebPart.WebPartPages.WebPart base class, and are defined in the SharePoint solution file as things that should be stored in the wpresources directory on the server. It is a helpful directory to use in order to deploy custom images. In ASP.NET 2.0, typically things such as images are referenced by embedding them as resources within an assembly. The good part about ClassResources is they can help to eliminate recompiles to change small interface adjustments or alterations to external JavaScript files. |
|