Tagged Questions
0
votes
2answers
75 views
Question about webpart properties
I have a webpartpage which in this page I added multiple custom webparts which are the same.
I wanted to use the .webpart file to add my own custom property like :
value
so I can treat each webpart ...
0
votes
1answer
160 views
Programmatically add new fetched properties to webpart
I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me.
So here ...
0
votes
1answer
67 views
Web Part Properties in different pages
Soo,
I created an webpart, and I've added a custom property.
The webpart works fine.
Now I want to add this webpart in another page also, but with a different property value.
The problem is that if ...
0
votes
2answers
164 views
Creating public properties in sandboxed webpart solutions
I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code:
[ToolboxItem(false)]
public partial class vClockPartSB : ...
1
vote
3answers
299 views
Is ist possible to share viewstate properties between webparts?
I have a class "Wepart A" and a class "Webpart B" which have some similiarities. So I introduced a BaseWebpart from which A and B inherit.
I want to share 2 properties (SortColumn and SortDirection) ...
0
votes
1answer
133 views
how to have a hyperlink in custom web part property
i am working on a custom web part property and my question is how can i have hyper-link(seen in the below image) or bold or italic text in the custom property for the web part?
2
votes
1answer
242 views
Setting the value of a custom web part property using object model
Let's say I have a reference to a web part that I got by using a SPLimitiedWebPartManager. How can I set the custom properties of that web part? For example, if it is a stock ticker web part, how do I ...
1
vote
2answers
527 views
WebPart property with a HyperLink editor?
I am currently developing a SharePoint 2010 WebPart that has a custom property which has to capture the Url of an external website. In an attempt to make the WebPart more complete I would like the ...
2
votes
4answers
4k views
When does custom properties of a web part get saved?
I have a web part that contains a number of custom properties. Only one of those customer properties shall not be set by the user.
This property is an int, that represent a unique identifier.
I want ...