Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
695 views

Web part custom properties are cleared after save - until page refresh

I have noticed a bug that occurs on all custom web parts I created. Let's assume I have following web part (sandbox solution) with two properties: using System; using System.ComponentModel; using ...
movax's user avatar
  • 172
3 votes
1 answer
697 views

Visual Web Part Property Validation in Sandbox Solution [SharePoint Online 2013]

How can I validate a custom web part property in a Sandbox solution (SharePoint Online 2013 environment)? I am throwing a WebPartPageUserException when validation fails, as shown below. private ...
Rachel's user avatar
  • 133
2 votes
1 answer
513 views

Setting the value of a sandbox web part's custom properties in .webpart file

I've created a new web part in a sandbox solution. This web part has a custom string property called 'PetName'. I'd expect to be able to set the initial value of this property in the .webpart file. ...
user16537's user avatar