Tag Info

New answers tagged


Are you sure you created the project as a 2013 project? It looks like you're using the 2010 template for web parts. In 2013, a visual webpart is a class that inherits from webpart. In 2010, there are two classes, one that inherits from web part, and one that inherits from usercontrol. In 2010, there are just a few lines of code in the webpart class that load ...


You forgot the name (WebDisplayName): [WebBrowsable(true), WebDisplayName("Text Input"), //<----------------Needs a name WebDescription("This Accepts text Input"), Personalizable(PersonalizationScope.Shared), Category("My Category")] public string TextProperty1 { get; set; } Source

Top 50 recent answers are included