How to Webpart Properties
How to add webpart properties in visual webpart using visual studio?
Answers (1)
1
- [WebBrowsable(true),
- WebDisplayName("ListName"),
- WebDescription("ThisAcceptstextInput"),
- Personalizable(PersonalizationScope.Shared),
- Category("WarrantyMessages")]
- publicstringlistName{get;set;}
above code will add webpart property name "List Name"
Accepted