Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
dns_nx's user avatar
  • 181
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: <...
Naveen's user avatar
  • 1,912
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 ...
Nikhil J's user avatar
  • 4,934
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 ...
Drkawashima's user avatar
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 ...
Alex's user avatar
  • 101
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 ...
Ryan Shripat's user avatar
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!
xorpower's user avatar
  • 453
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 ...
Kenneth Van Coppenolle's user avatar
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 ...
Kirk Broadhurst's user avatar
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 ...
empz's user avatar
  • 781
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 ...
trip's user avatar
  • 419