Web parts are are the building blocks of Microsoft SharePoint web pages.
Questions tagged [web-parts]
1693 questions
0
votes
1 answer
Communicating between controls in a Webpart
We have a webpart that has 2 user controls.
We want the second user control to be able to read a value from the first user control.
One solution we have considered is an event in the first control, that updates a value in second user control. But…

Shiraz Bhaiji
- 64,065
- 34
- 143
- 252
0
votes
1 answer
Web Part Storing Persistent Variable (ViewState/Session?)
I am developing a custom SharePoint 2010 Web Part (not visual) in C#.
I need the ability to maintain persistent variables (selected value of a drop down list for example) across postbacks but have it be unique to each individual User and page/tab…

user1078208
- 1
- 1
0
votes
1 answer
Error on AddWebPart (Sharepoint 2007)
I am trying to use the AddWebPartToZone web service call within Sharepoint 2007 to add a webpart programmatically to a webpart page. We get a soap exception (Microsoft.Sharepoint.SoapServer.SoapServerException).
The webpart i am trying to add is the…

Kev
- 1
0
votes
0 answers
Why don't my webparts show?
I have been following a tutoral on webparts here:
http://www.codeproject.com/Articles/337551/A-Beginners-Tutorial-on-ASP-NET-Web-Parts
And followed it example and copied the code across into my default.aspx, everyone was working until I modified the…

connersz
- 1,153
- 3
- 23
- 64
0
votes
2 answers
apply CSS list style buttons to server created button controls
I have some CSS that uses lists to create 3D buttons styles similar to the link below:
http://articles.techrepublic.com.com/5100-10878_11-5323375.html
My problem is I have buttons which are server controls and thus render html buttons.
The question…

van
- 9,159
- 19
- 60
- 93
0
votes
1 answer
SharePoint - document library items to list
What is best way to do this?
I want to read all document library items to list and create direct link those documents. Or is it easier read documents to webpart, example to Listbox/DataGrid?
Example:
Document library
MyDocument.doc
MyList
Link to…

user3172297
- 47
- 2
- 7
0
votes
0 answers
Unable to add webpart
I'm trying to add a webpart, but when clicking on 'Add a Web Part' link the javascript debugger window shows an error :
SCRIPT5007: Unable to get property 'value' of undefined or null reference
wpadder.js, line 1 character 6109
The property is…

poa
- 269
- 1
- 4
- 13
0
votes
2 answers
SharePoint | Change Combo Box Options Depending on Same Combo Box Status
Can JavaScript manipulate the options of a combo box?
Idea is to When a status was changes to "B" after submitting the form and the other person change the status "A" should not be an option because it's a previous step.

TheGreenGentleman
- 95
- 1
- 8
0
votes
1 answer
SharePoint | Web-Part | How to Limit Dropdown Options Based on the Status
I'm wondering how to achieve this via custom web part and JavaScript
I'm looking for a way on how to limit the dropdown status based on its current state. For example I have status: Start, On-Going, Completed and Pending
the initial status of Start…

TheGreenGentleman
- 95
- 1
- 8
0
votes
1 answer
How do you disable adding the same webpart multiple times from an asp:catalogzone?
If have a standard aspx page (non-sharepoint) that hosts webparts
It contains one asp:catalogzone and four asp:WebPartZone's.
I have a business requirement that my new webpart must start in the catalog and a user can choose whether to add it to a…

Andrew
- 664
- 13
- 32
0
votes
1 answer
Retrieve SP List Data Deferred Promise
I am still struggling with getting a chain of deferred promises working on a Visual Web Part. The end goal is to change the colour of some DIV tags to colours referenced in a SPList.
I originally had this code working with a single request to…

Matthew R
- 1,038
- 11
- 15
0
votes
2 answers
Sharepoint web parts Rendering html and controls
I have a webpart that displays HTML output within the RenderWebPart method and also creates controls within the CreateChildControls both methods are declared as overridden in the webpart.
My question is how to I control the order of the display of…

nav
- 3
- 1
- 2
0
votes
3 answers
How do I set full trust for a single Web Part in SharePoint?
I am looking to set full trust for a single web part, is this possible? manifest.xml maybe?

naspinski
- 34,020
- 36
- 111
- 167
0
votes
1 answer
Can you get parameter values of reportviewer at runtime?
I have a very specific question about the reporting services report viewer control.
I appreciate any help. I am a bit of a novice with Javascript on the client side, but I have to use this in my project.
THE REQUIREMENT
I need to retrieve the…

tomepenn
- 93
- 12
0
votes
1 answer
What is the best was to access a property of a deeply embedded asp.net control using client side java script?
I could use some advice please.
THE SCENARIO
I have a tabbed control on the page.
There an update panel on each tab.
Inside each update panel is an instance of a custom Web part (asp.net)
I need to get the parameter value of the report viewer…

tomepenn
- 93
- 12