Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4221

The Web Part base class contains a set of properties that you and the users of your Web Part can use to control its appearance and behavior. For example, a Web Part's Height and Width properties can be set by your code, the user, or the Web Part definition file (.dwp) you use to import a Web Part. A custom property is a property that you create when you need additional properties to enhance your Web Part's functionality.

4 votes
1 answer
12k views

Setting default value for custom webpart property

im trying to set a DefaultValue for my custom webpart property.. namespace Beraterprofil.VisualWebPart1 { [ToolboxItemAttribute(false)] public class VisualWebPart1 : WebPart { pri …
Peter's user avatar
  • 575
1 vote
1 answer
210 views

Changing WebPart Custom Property

I want to change a string inside my Code using the customization for the WebPart. Currently I created a custom WebPart Property like this: [WebBrowsable(true), Category("Miscellaneous"), Personaliza …
Peter's user avatar
  • 575
0 votes
Accepted

Changing WebPart Custom Property

i solved the problem with some changes in my code.. now it looks like this: Dictionary<string, string> cvProps = GetUserCVProperties(!String.IsNullOrEmpty(this.WebPart.sectionToRead) ? this.W …
Peter's user avatar
  • 575