All Questions
11 questions
1
vote
0
answers
129
views
Show ribbon bar "Documents" in WebPart page
I have created a WebPart. It consists of some HTML / JavaScript code for filtering a document library and a ListViewByQuery-WebPart for showing the results.
Is it possible on this WebPart Page to show ...
0
votes
1
answer
1k
views
Display/hide control in Webpart based on edit/browse mode
I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode.
ASP.NET code snippet:
<...
0
votes
0
answers
135
views
URL field in sharepoint : Points to Control Template when http removed
We have a requirement to display urls based on logged in user . We created a single line of text for url storage in SharePoint list. C# code pulls the data and displays correctly .
All is well when i ...
0
votes
0
answers
39
views
Web part mysteriously prevents saving edits to webpart-page
I've got a mystery problem with a visual webpart in SP2010.
The webpart itself is working perfectly.
Weird thing is that after you add an instance of this particular webpart to a page (by editing a ...
0
votes
1
answer
42
views
SP 2010 Development Concepts
I'm building a custom addon for a SP 2010 instance. I've been able to get a Visual Web Part in visual studio deployed to my SP instance and debug it. As far as I can tell I have all the normal ...
1
vote
0
answers
1k
views
CreateChildControls() in Visual Web Part in SharePoint 2010 called twice
(x-post from https://stackoverflow.com/q/17065543/1943)
I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
15
votes
2
answers
30k
views
Difference between WebPart & Visual Web Part
I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010.
Thanks!
0
votes
2
answers
722
views
Does web part property validation only work for visual web parts?
Suppose I define a web part property like this:
private string _myString = "default value";
[WebBrowsable(true),
WebDisplayName("My string"),
WebDescription("A simple bit of text to ...
1
vote
2
answers
2k
views
Causes of "The Web Part you are connecting from does not allow authoring of connections"
When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is ...
1
vote
2
answers
2k
views
Access denied in Sharepoint 2010 HTTP handler (.ashx)
I've developed a Visual Web Part for Sharepoint 2010 that includes an HTTP handler for some AJAX functionality. I followed this guide to accomplish this.
I've createad a brand new SP 2010 web ...
2
votes
1
answer
2k
views
Visual Web part - async load
I want to create async load of visual web part. Code behind (web part) needs some time to load data so I figure to create that in async way (on page load). Scriptmanager is placed in master page (ajax ...