Tag Archives: Sharepoint 2010 Tips

My Web Part properties won’t save. Because of no server side controls on my web part?

There are tons of reasons why a web part property won’t save, but I came across a bizarre one today.


  • User control web, and a web part that loads the user control. 
  • The user control had NO server side controls on it.  I was just using inline c# to render my HTML for the web part.
  • When I edited the web part properties in sharepoint, the wouldn’t save.

I was banging my head against the wall all day, and found out by accident that if there are NO SERVER SIDE controls on the web part, sharepoint won’t try to save the web part properties.  You’d think that the web part properties and the controls on the web part would be completely unrelated, but not from what I saw today.

I sincerely hope that it’s just a issue with our user control loader and doesn’t happen to anybody else, ever.