Logo 
Search:

Sharepoint FAQ

Submit Interview FAQ
Home » Interview FAQ » SharepointRSS Feeds

What are ClassResources? How do you reference and deploy resources with an ASP.NET 2.0 WebPart?

  Shared By: Tarang Nayak    Date: Mar 12    Category: Sharepoint    Views: 901

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.

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: