Tuesday, May 20, 2008

A quick way to remove a Web Part which is crashing your Web page/web part page maintenance page

If you are building a web part and is crashing the webpage, here is a quick way to remove it and get the rest of the page working.
Add contents=1 at the end of the url.

For example, if the page url is http://sharepointkings/test1/default.aspx then change it to http://sharepointkings/test1/default.aspx?contents=1.

See the url in the below image:

This will bring up the web part page maintenance page and lists all the webparts that are used in that page and provides way to delete selected web parts , switch view or reset.
See the below image showing the web part page maintenance page.

No comments:

Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com