I have created a web part and done some personalization. Deployed the web part. Using administrator privilege I have added the web part to a site page. My problem is users under read permission currently not able to personalize the web part.There is no ‘Personalize this page’ link at top corner. Please help
public class CustPersonal : WebPart
{
private int _intFontSize;
private string _strLblData = "";
[Personalizable(PersonalizationScope.User),
WebBrowsable(true),
WebDisplayName("Personalize your Label data"),
WebDescription("This label is a personalized webpart")]
public string LabelData
{
get { return _strLblData; }
set { _strLblData = value; }
}
[Personalizable(PersonalizationScope.Shared),
WebBrowsable(true),
WebDisplayName("Customize font size for every one"),
WebDescription("This label is a customized webpart")]
public int FontSizeValue
{
get { return _intFontSize; }
set { _intFontSize = value; }
}
protected override void CreateChildControls()
{
base.CreateChildControls();
Label lbl = new Label();
lbl.Text = _strLblData;
lbl.Font.Size = _intFontSize;
this.Controls.Add(lbl);
}
}