Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
461 views

For SharePoint Online, is it possible to install an app globally for a Hub Site Collection?

I am looking for the ability to install an app for my collection of sites and manage the app's content from a central location, but add the corresponding web part to pages in several different sites ...
Pat Kavanagh's user avatar
0 votes
1 answer
258 views

Add Water Mark on PDF SPFile

I am trying to add water mark on a pdf file which is saved in Document Library. I don't want to modify the file in document library although when User clicks the Print Button, it should add Water Mark ...
Alina Anjum's user avatar
0 votes
1 answer
138 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...
gsamerica's user avatar
1 vote
2 answers
2k views

Solution Option is missing in Sharepoint Online

I have created the trial site on Office 365. I have created a Test Site in SharePoint Online. Now I want to deploy custom web parts on SharePoint Online refer to the following link: https://...
Alina Anjum's user avatar
0 votes
1 answer
195 views

Visual Web Part cannot be found or is not registered as safe, and isn't being added to web.config

I'm new to SharePoint development, and I'm making a basic Visual Web Part with Visual Studio 2015, which currently only displays a header. It successfully builds and deploys, however the SharePoint ...
gsamerica's user avatar
0 votes
1 answer
77 views

Find asp:table from visual web part

I've created a basic Visual Web Part, in VS 2017. When I Deploy it to my SharePoint server(2013) It works. But I'm not sure how to find my table so I can add/remove values in the table. My ...
Carsten Løvbo Andersen's user avatar
1 vote
1 answer
2k views

How to get webPart XML with powershell from SharePoint WebPart Gallery

I want to get web part XML from SharePoint Web Parts Gallery(not locally) for add webpart into a List page. This is my code: $spWeb = Get-SPWeb $webURL $spSiteCollection = Get-SPWeb -Identity $...
Goshky's user avatar
  • 2,058
0 votes
1 answer
122 views

Asynchronous Visual Web Part without ASP Update Panel

I want to create the Asynchronous Visual Web Part(Which is not affecting the page load) without using ASP:UpdatePanel. Any idea how to achieve this??
Mohamed Arif's user avatar
1 vote
2 answers
317 views

SharePoint 2016 Visual Web Part - error importing webpart when compiling, am I missing something simple?

I'm trying to just build a super simple web part for on-prem, I go into VS 2017 and I select SharePoint 2016 - Visual Web Part, I don't modify any of the code and then I just compile and deploy and ...
Christopher Bruce's user avatar
2 votes
1 answer
104 views

Show hide User Controls in a webpart or switch between webparts

How we can achieve below scenario in SharePoint 2013,I am confused where to start: I have webpart which will do login functionality based on list, once user Logged success I need to show a List Items(...
mzonerz's user avatar
  • 406
5 votes
1 answer
136 views

When developing web parts, which is better server context or client context?

When developing a webpart for deployment as a farm solution is it better to use the Sharepoint server context Microsoft.Sharepoint? Or is it a better practice to use the Microsoft.Sharepoint.Client ...
Brad Fortner's user avatar
1 vote
0 answers
26 views

Can't get sandboxed 2013 web part to emit client side JS for validation

I am developing a sandboxed feature for 2013 that includes several custom aspx pages, each with its own sandboxed web part through the SPUserCodeWebPart control. This project has had a long and ...
flayman's user avatar
  • 171
5 votes
1 answer
385 views

SPCalendarView not working properly in Sharepoint 2013

I have Created a Custom Calendar webpart using SPCalendarView type. After adding this webpart to my page it is not displaying any events and the navigation buttons(two arrow buttons) for changing ...
Unknown's user avatar
  • 309
1 vote
1 answer
137 views

Best way to add custom webpart

What is the best way to add a custom webpart to a sharepoint default page(i.e list page like NewPost.aspx) and/or into the webpart gallery programmatically without directly deploying from Visual ...
Unknown's user avatar
  • 309
-1 votes
1 answer
47 views

How to set permission list item in custom list?

I create a web part.this web part is using "add a item". it was completed. My problem: I want to create a web part which is having below ex. Ex: I login on my account-> add a item. B person login b ...
nestle nescafe's user avatar
1 vote
2 answers
903 views

How to make web part static content searchable?

I have a local, on-premise dev installation of SharePoint 2013 standard edition. I created a visual web part with sample static content. Added this webpart to a webpart page. When I do a search from ...
Codie's user avatar
  • 131
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
1 vote
0 answers
386 views

I am facing $Resources:core,ImportErrorMessage; while adding sharepint2013 webpart

I am getting below error while adding WebPart in webpage $Resources:core,ImportErrorMessage; Please tell me things to do for resolving this error.
akj's user avatar
  • 351
0 votes
1 answer
657 views

Deploy Web Part from Visual Studio to remote SharePoint [duplicate]

I've made a Visual Web Part in Visual Studio (non-sandboxed) that I could easily deploy & "debug" on my local SharePoint installation. I want to copy this web part to another SharePoint ...
Laureant's user avatar
  • 159
1 vote
1 answer
2k views

Populate Custom Web Part Property from List

I have a custom web part (Contact Info) with a property (Topic). The topic is a drop down list (ie behind the scenes its an enum type. What I would like is for the values of this dropdown property to ...
Neberu's user avatar
  • 178
2 votes
1 answer
40 views

Top visited entries on site collection blogs

I want to develop a web part which shows the ranking of entries of a site collection. By now, I think a way to do this is to use a Javascript code added on the master page which adds a row to the ...
Daniel 976034's user avatar
0 votes
1 answer
3k views

SharePoint 2010 Adding Web Part Error: Object reference not set to an instance of an object

I created a Farm Solution visual web part in a development environment (VM). I've run into issue while attempting to deploy this Visual Web Part in a test environment. I added (Add-SPSolution), ...
David Calvin's user avatar
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
1 answer
243 views

Search list using linq

Following is my code to load results in a gridview. What I want? I want to be able to modify linq query based on start date,end date and title. User can search on any 1 field. How to make linq query ...
mahesh pullareddy's user avatar
0 votes
1 answer
152 views

Cannot deploy visual webpart from sandboxed Sharepoint 2013 solution

I'm trying to deploy a visual webpart to SharePoint 2013 site from sanboxed solution. My webpart RSSNews.ascx (it doesn't have custom code behind): <%@ Assembly Name="$SharePoint.Project....
ScienceSoft team's user avatar
1 vote
1 answer
95 views

Submitting data from PeopleEditor control in Web Part gives error

I have a web part that submits data to a list and it uses a PeopleEditor control for selecting users. Once user is selected, when I submit the form it gives following error Invalid data has been ...
soccer7's user avatar
  • 919
1 vote
3 answers
2k views

SharePoint DateTimeControl does not render the calendar in web part

I have created a web part for creating new list item using VS. Web part has a DateTime Control. If I click on Calendar icon then it does not render it, rather gives a server error. I have included ...
soccer7's user avatar
  • 919
1 vote
0 answers
250 views

Error While Adding Visual Web part To Master page in 2013

I am Trying to add a Visual Web part with Custom css and Java script in it. When i try to add in a layout page It works fine. But when I used the below steps http://ukreddysharepoint2010.blogspot.in/...
santosh kondapalli's user avatar
0 votes
1 answer
154 views

What is the best Approach for Banner management(Slider)?

Im about to develop a webpart for banner (Slider) management, which is reading images from Image library and shows it in the webpart. I'm using Jquery to do this. What is the best way to pass the ...
mzonerz's user avatar
  • 406
0 votes
0 answers
47 views

Editable repeating region in sharepoint

SharePoint Novice. Just as the image shows, I'm trying to create an editable repeating region in SharePoint and I have idea on how I can achieve that. Any suggestions or ideas on how I can get this ...
Dz1's user avatar
  • 75
0 votes
1 answer
211 views

Asynchronus loading of visual web part

I am developing a visual web part that will do some some heavy operations. It is a visual web part in SharePoint 2013, on premise. I want to load my data asynch. Ajax toolkit is not compatible and ...
Ilyas's user avatar
  • 1,341
1 vote
1 answer
403 views

ASCX controls, how to prevent multiple inclusions of same Javascript file?

By example we have two webparts on page, with ascx controls. One ASCX control loads this.Controls.Add(new ScriptLink() { Name = "/layouts/15/...
Gennady G's user avatar
  • 1,623
0 votes
1 answer
706 views

Error deploying visual web part to SharePoint 2013

first post here. I've having a hard time with a couple things in SharePoint 2013, one is: I'm developing web parts to deploy to a SharePoint site. The problem is that every single time I deploy them ...
Naner's user avatar
  • 101
0 votes
1 answer
446 views

How to display list items store in different Web Application without REST?

I have an one intranet site, and one public site. These have different web application. I want to display Tasks list and also insert items in intranet site into public site. I try to add ...
dant's user avatar
  • 121
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
8 votes
5 answers
28k views

Error occurred in deployment step 'Activate Features'

I am creating and deploying Visual Web Part on SharePoint 2013 with VS 2013 as Farm Solution. When deploying Web Part on the server i get the following error: Error occurred in deployment step '...
Pranav Bilurkar's user avatar
0 votes
2 answers
3k views

CSS Styles in ASCX are not being Rendered

I have a Visual WebPart being used on a self-hosted SharePoint 2013 stack. Problem is that in the WebPart design file, I have a Style tag <style>.. with some definitions for how certain sections ...
GoldBishop's user avatar
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
1 vote
1 answer
184 views

SharePoint 2010 and 2013 can't not find SPLimitedWebPartManager

I trust this is one of the most common question when approaching with adding webpart to you sandbox solution through SharePoint 2010 or SharePoint 2013 I have researched google for a while and can't ...
tbbt's user avatar
  • 334
0 votes
1 answer
352 views

c# add existing webparts on site into sandbox webpart solution

I want to create a webpart using sandbox webpart solution on C# which contents two or more webparts (such as a list, task, document,...) existed on my Sharepoint site. So my new webpart will have some ...
tbbt's user avatar
  • 334
0 votes
1 answer
167 views

How do you display a list of users with full control?

I am currently working on creating a visual web part that displays a list of users with full control to a SharePoint site, along with their loginID and email. The code I've written lists all the users ...
Mischa's user avatar
  • 25
0 votes
1 answer
744 views

My gridview does not display.

I am creating a web part on SharePoint that shows site owners and their email addresses. I am able to show that information in a listbox, but I would rather do it in a gridview. When I change my code ...
Mischa's user avatar
  • 25
0 votes
2 answers
20k views

How do you show a list of site owners for a SharePoint site?

I am trying to create a web part that will list the site owners of a SharePoint site. I'm not sure where to start. I've been unable to figure out how to access the permissions property of a site. Any ...
Mischa's user avatar
  • 25
0 votes
1 answer
4k views

Toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010, a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
user2969149's user avatar
0 votes
2 answers
692 views

Custom webpart to display HTML form which supports adding additional dataRow on the fly?

Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on http://...
Karthikeyan's user avatar
  • 2,548
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
5 votes
1 answer
4k views

How to create a multilingual visual webpart in SharePoint 2013

Have anyone ever implemented multilingual visual web part in SharePoint 2013? I see there are many links out there on this topic but they are not cohesive and complete. I don't know how can I address ...
Pouyan's user avatar
  • 475
1 vote
1 answer
178 views

How to debug why i cannot add a webpart to a page in SP Designer

I have several custom webparts which i am attempting to add to a custom page WebPartZone using SPD2010. I can successfully add one, however when i attempt to add the other i get an "Error Creating ...
user5389's user avatar
0 votes
2 answers
204 views

Get Chart web part to dynamically change with original share point list

I have a SharePoint list that contains a list of projects and their technology. Example. P1 - Java P2 - SAP P3 - Oracle P4 - Java p5 - Oracle I want to be able to represent ...
Chris G's user avatar
1 vote
1 answer
5k views

SharePoint 2010 Visual Webpart vs SharePoint 2013 Visual Web part

Having a SharePoint 2013 installation, I wanted to try creating a web part for SP 2013. I opened visual studio 2012, I could see, project templates for SharePoint 2010 visual web part and SharePoint ...
Biju Joseph - MCSD's user avatar