Questions tagged [custom-web-part-property]

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.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
61 views

Unable to create custom Web part properties for custom content search web part in sharepoint 2013?

I tried to create custom web properties for custom content search web part Extended CSWPby using [WebBrowsable(true), WebDisplayName("Page Title"), WebDescription("Title displayed on the page"), ...
Debugger's user avatar
  • 1,722
2 votes
1 answer
239 views

Add same webpart multiple times on a webpage

I have a webpart i need to add multiple times on a webpage, how can I restrict in javascript the the variable to read from each webpart property? In webpart ascx file, I have hidden fields like: &...
Jennifer T's user avatar
1 vote
0 answers
1k views

Custom Web Part Properties in SharePoint 2010 Visual Web Parts-Dynamic Dropdown

I want to have a custom webpart property with a dynamic dropdownlist (data coming from sharepoint list). I was able to make a static dropdownlist as mentioned here. Can anyone help me how to make a ...
Ishan's user avatar
  • 774
0 votes
1 answer
24 views

Hide one of hosted app part from solution

I have developed a solution which have 20 SharePoint hosted app part. Now i want to hide one of the app-part from this hosted app solution, so that user can not see and add that one app part on page. ...
Dilip Kumar Yadav's user avatar
0 votes
0 answers
28 views

Things to lookout for, when adding a button to the properties menu of a webpart and even handler not executing

Ive built a custom Web Part properties menu, using a class which extends the Editor Part following this tutorial . I created a button with the following code this.testButton = new Button(); ...
user2987348's user avatar
0 votes
1 answer
297 views

Custom Web Part Properties in SharePoint 2010 Visual Web Parts-How to set it different for each user login

I have custom webpart properties for a visual webpart. This thread helped me develop the custom webpart properties. Now my issue is once a user sets the custom property it gets applied for all users, ...
Ishan's user avatar
  • 774