Logo 
Search:

Sharepoint FAQ

Submit Interview FAQ
Home » Interview FAQ » SharepointRSS Feeds

Why are properties important in WebPart development, and how have you exploited them in past..

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

Answer:

Why are properties important in WebPart development, and how have you exploited them in past development projects? What must each custom property have?


Properties are important because WebParts allow levels of personalization for each user. WebPart properties make it possible for a user to interact, adjust, and increase overall experience value with the programmatic assets that you develop without having the need to use an external editor or right any code. A very simple example of exploiting a property would be something like allowing the user to change the text on the WebPart design interface so that they can display whatever string of text they desire.
Each custom property that you have must have the appropriate get and set accessor methods.

Share: 
 



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


Tagged: