Sharepoint FAQ

 
Home » Interview FAQ » SharepointSubmit FAQRSS Feeds

What does the RenderContents method do in an ASP.NET 2.0 WebPart?

  Shared By: Tarang Nayak         Date: Mar 12, 2011      Category: Sharepoint      Views: 147      

The render contents method will render the WebPart content to the writer, usually an HtmlTextWriter since WebParts will output to an HTML stream. RenderContents is used to tell how the controls that are going to be displayed in the WebPart should be rendered on the page.

Tagged:                      

 


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