Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Sunday, January 15, 2012

Procedure to follow SharePoint 2007 to allow inline coding.

  • Go to web.config file of your SharePoint site.
  • Open with visual studio or notepad.
  • Search for pageparserpath tag.
  • Add pageparserpath in between page parser path.
  • Now create a web part & write the code you want to generate within a master page.
  • Now open your SharePoint site with SharePoint designer.
  • Go to your master page.
  • Create one table.
  • Give it’s width as 100%
  • Now in td specify it as runat=’server’.
  • Now keep the code snippets. Ex :-<%%>.
  • Now in that code snippets Keep your generated code from web part.

No comments:

Post a Comment