Define web part properties in C#
18/06/2015 09:15
private const string WpPropertiesCategory = "My category";
[WebBrowsable(true)]
[WebDisplayName("Template File Name")]
[Category(WpPropertiesCategory)]
[Personalizable(PersonalizationScope.Shared)]
public string ExcelTemplateFileName { get; set; }
[WebBrowsable(true)]
[WebDisplayName("File name base")]
[Category(WpPropertiesCategory)]
[Personalizable(PersonalizationScope.Shared)]
public string TargetFileNameBase { get; set; }