Wednesday, December 23, 2009

WebPart Maintenance page : How to remove the Dead WebPart from Sharepoint

There are some situation where when you do a edit page on the sharepoint site the page don't get loaded and give the object reference/ some standard asp.net error. In such cases how can you remove the dead web part. Use the following url and delete the webpart manually using the Web Part Maintenance Page

http://xyx.yoursite.com/default.asp?Contents=1

This would open the following url
http://xyx.yoursite.com/_layouts/spcontnt.aspx?&url=urlofyoursite
which is a web part maintenance page. You can remove the webpart manually from this page.

Wednesday, December 2, 2009

How to align Div to Center

Delcare this class and use it in the Div

.centralize_div { text-align:center;width:auto;margin: 0 auto;} and add this class

to the div.

Tuesday, December 1, 2009

How to utilize MS Chart on Sharepoint environment

Nice Article which speak about how to add the .Net Framework 3.5 SP1 Chart Control on Sharepoint environment.

http://mosshowto.blogspot.com/2008/11/chart-controls-net-framework-sharepoint.html
http://mosshowto.blogspot.com/2008/12/asp-net-chart-control-sharepoint.html
Some error resolving blog thread :- http://social.msdn.microsoft.com/Forums/en/MSWinWebChart/thread/1dc4b352-c9a5-49dc-8f35-9b176509faa1