Skip to main content

Questions tagged [visual-web-part]

Visual Web Part is a Web Part built using a User Control (.ascx)

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

webpart not detect language change

in our sharepoint website we have page include webpart . site is using 2 language english and arabic IF im login as Anonymous Users: when change from englsh to arabic client side code detect not ...
wael elkadi's user avatar
0 votes
1 answer
52 views

Visual Webpart-Deployment Issue

While deploying Visual web part in SharePoint Production Farm consisting of 6 WFE, 2 APP, 2 Distribute Cache servers, we are facing issue. I am not getting error message just web part is showing "...
Mohammed Badruddin's user avatar
0 votes
1 answer
145 views

SharePoint 2019 visual web part user control performance issue

We are experiencing some performance issues with a new SharePoint 2019 project containing some custom visual web parts and user controls (farm solutions) which have been migrated from an old ...
Anders Nielsen's user avatar
0 votes
1 answer
34 views

Not able to create custom Visual webpart for sharepoint online site in visual studio

I am new to Sharepoint online. I have to create Visual Webpart for sharepoint online site but when I am creating new project in visual studio it is not allowing me to create. showing Cannot connect to ...
Shrikant Yadav's user avatar
0 votes
1 answer
121 views

Can I create visual web part for SharePoint online in SharePoint 2016?

I tried to create a visual web part and publish it to SharePoint online: I created a visual web part at local using SharePoint server 2016 and to publish to SharePoint online, I selected "...
D T's user avatar
  • 123
0 votes
1 answer
30 views

How can add a library into visual web part 2016?

I created a Dai_ExcelLab.dll to output excel file as image: I had add Dai_ExcelLab.dll to my visual web part: And using: protected void btnExport_Click(object sender, EventArgs e) { try ...
D T's user avatar
  • 123
4 votes
1 answer
427 views

Sharepoint 2019 visual webpart with SQL database

We are planning implement SharePoint 2019 on-prem to replace existing SP 2010 intranet . we have few SP visual webparts with SQL data sources that was build using VB.net . we like to know if it is ...
Homes's user avatar
  • 41
1 vote
1 answer
377 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
244 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
0 answers
656 views

What is ListItemCollectionPosition in SharePoint when doing pagination

I am developing a visual web part in SharePoint 2016 which is reading data from a list and displaying in ascending order using column Name. I have read many tutorials especially the following but ...
Frank Martin's user avatar
  • 3,702
0 votes
1 answer
203 views

SharePoint-2016 Visual Web part(C#) to SharePoint Online

I need to migrate SharePoint-2016 visual web part(C#) to SharePoint online. But visual web part contains custom feature like common XML configuration tags, send mail to users, authenticate AD groups, ...
AravindHackett's user avatar
0 votes
1 answer
592 views

What is a dashboard web part in SharePoint Online Office 365 intranet?

We are moving our intranet from SharePoint 2010 to SharePoint Online Office 365 suite. Can someone please give me a good definition of what a 'Dashboard' web part is in this context? We cannot seem ...
Rosario's user avatar
0 votes
1 answer
179 views

Duplicate items in custom list

I have a custom list in my SharePoint site and there is a webpart which inserts items to that list. This implementation was working fine until recently, when we observed that there are duplicate items ...
Ashu Fouzdar's user avatar
0 votes
1 answer
47 views

Visual WebPart for Adding Picture and Updating metadata

I want to create a visual web part to add images by using upload ASP UI controls And while uploading it should also save relevant metadata like Title and Description Don't have much experience in ...
Sukumar MS's user avatar
0 votes
1 answer
1k views

Force browser to clear cache when changes has been added or updated in Visual web-part control file

I am working on visual web-part (SP 2016 on-prem) and it's control (ascx) file has HTML, CSS and jQuery code. When I made any changes inside it, then changes are not reflecting at end user's or client ...
Rishi Jagati's user avatar
1 vote
1 answer
202 views

Logging client side error(JS file added in a visual webpart) to server side - sharepoint 2016

I have a visual webpart, where there is a JS file added to it. Now i need to log the errors which occur in the JS to my local drive. What we need to know is how to push the error message from client ...
Sukumar MS's user avatar
0 votes
1 answer
130 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
1 answer
302 views

SharePoint 2016 - Issue deploying solution

So, our company is using SharePoint 2016 on premise and previously I have deployed a few custom solutions to it before and they work correctly. Now however, I am trying to create/deploy a visual web ...
afroze9's user avatar
  • 13
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
1 vote
1 answer
979 views

How to add a GridView to a Visual Web Part?

I'm new to SharePoint and am developing a simple World Clock Visual Web Part, following this blogpost from SharePoint Hero. In the blogpost the instructor describes adding a GridView to the Web Part, ...
gsamerica's user avatar
0 votes
0 answers
268 views

SPFX: Custom action to move bulk document from one library to another and adding metadata to these files

My scenario: I need to be able to bulk move files from one library to another and also bulk add metadata to those newly move files. I thinking of creating an spfx/react application or any method is ...
Keshav Taurah's user avatar
0 votes
1 answer
185 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
1 vote
1 answer
338 views

Cannot initialize SharePoint project item whenever a project is reopened

I'm developing a SharePoint Visual Web Part for SharePoint 2016 with Visual Studio 2015. When I create a new web part all the relevant extensions initialize correctly. However, when I close Visual ...
gsamerica's user avatar
0 votes
1 answer
46 views

Web Parts auto-adjust to web part zone

We have developed some custom web parts in SharePoint 2016. We have developed these web parts as Visual Web Parts but with JavaScript/jQuery/REST API/PNP JS. We have used bootstrap for responsive ...
Zakir HC's user avatar
  • 3,650
0 votes
1 answer
41 views

Install or Update Visual Web Part in SharePoint

I have developed a custom visual web part by using ASP.NET. However, The web part has produced in another server which contains visual studio. I have the .wsp file and I know how to use the SharePoint ...
Mohammad's user avatar
  • 113
0 votes
1 answer
1k views

SP13 - How to Get the Selected Date/Time within SharePoint Calendar

I Create Visual Web Part for SharePoint Calendar (New form). I have needs to retrieve clicked date in sharepoint calendar. How to do this: Thank you previusly!
Goshky's user avatar
  • 2,058
0 votes
2 answers
579 views

How do I determine a GenericList type?

I'm working on a site, where a web part I'm building takes the name of a custom list type as a property when editing the web part settings. The "List" that this visual web-part is designed to display,...
shawty's user avatar
  • 103
0 votes
1 answer
49 views

how to to display and search between date sharepoint document library in web part

hi every one, i am trying to display all document library item in gridview using web part with a linkFileName column. below is my code. try { using (ClientContext context = new ...
Razim Khan's user avatar
0 votes
1 answer
39 views

User Change Event in ASP.Net

We have developed a visual web part in asp.net. With using SPContext.Current.Web.CurrentUser.ID property, we control who is current user. In SharePoint, it is possible to change current user and this ...
Mohammad's user avatar
  • 113
2 votes
1 answer
79 views

Minimum Requirements for Azure SharePoint Development VM

I'm interested in developing SharePoint Visual Web Parts in Visual Studio but don't have an instance of SharePoint Server running anywhere. Visual Studio points me to this page, which suggests a ...
dikuw's user avatar
  • 502
0 votes
1 answer
72 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
3 votes
2 answers
7k views

How to add webPart to Page with PowerShell from WebPart Gallery

I want to get my Custom WebPart by name and add into a Page with PowerShell from (Web part gallery): --> Edit Page --> Insert --> Web Part --> Custom WebParts in image are added from Custom ...
Goshky's user avatar
  • 2,058
0 votes
1 answer
28 views

Can we create a document with user having read permission only? C# SP2016

I am working with Visual WebPart in SP2016. I have created Farm Solution. I have a user TestUserRead. This user have read permission to the site. Can I create a document with TestUserRead using ...
Trimantra Software Solution's user avatar
0 votes
1 answer
117 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
291 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
3 votes
1 answer
97 views

Read text file entry in visual web part (C#)

I have a text file with URL & active entry URL Active Http:// 0 http:// 1 I want to convert the file to a SharePoint list in visual web part
Aashirya's user avatar
  • 1,021
2 votes
0 answers
61 views

Unable to create custom Web part properties for custom content search web part in sharepoint 2013?

I tried to create custom web properties for custom content search web part Extended CSWPby using [WebBrowsable(true), WebDisplayName("Page Title"), WebDescription("Title displayed on the page"), ...
Debugger's user avatar
  • 1,722
2 votes
2 answers
209 views

show different navigation for internal and external users

my scenario: my internal users navigation shows up a list of companies(document library) which they can use without any restrictions. But for my external users only a certain company is shared to them ...
Keshav Taurah's user avatar
2 votes
1 answer
102 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
3 votes
2 answers
283 views

SP16 On-Premise - SPFx web parts or Classic web Parts?

My company has need to migrate web parts from SP07 to SP16 On-Premise. It is clear that all the logic from the old web parts will be written from the beginning. My question is what decision we ...
Goshky's user avatar
  • 2,058
0 votes
0 answers
112 views

visual web part with Web services

I have come accross a scenario wherein i have to debug an resolve a issue in a visual web part. I checked the code of web part and came to know that a web service (asmx) has been used in it. I tried ...
shoab's user avatar
  • 673
5 votes
1 answer
135 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
22 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
1 vote
0 answers
252 views

How to add a Site Feed(Newsfeed) OOTB web part to one of the tab in a JQuery tabbed UI?

How do I show a Newsfeed webpart in one of the tab in a Custom Tabbed Sandbox Visual Webpart? I've an html UI using JQuery UI tab. Some of the tabs contain static html, I want to add a new tab say "...
user5579208's user avatar
0 votes
1 answer
458 views

Webpart custom property is not saving in Sharepoint 2013

My custom property is declared like every example out there: [WebBrowsable(true)] [WebDisplayName("Group By Date")] [Description("Group Articles by date")] [Personalizable(...
Fluffy's user avatar
  • 1
1 vote
0 answers
158 views

Best way to create a custom form as survey question creation?

I need to create a custom question creation form as Survey question creation in SharePoint 2013 survey list. In survey list we can create a question, and we ca choose the options type(Radio, multi ...
Debugger's user avatar
  • 1,722
1 vote
1 answer
221 views

Get last modified file from a sub site using JSOM

I have a navigation web part which displays the subsites as tiles which has the name of the subsite and last modified date information. These subsites can have multiple document libraries, lists(...
Gowthaman's user avatar
  • 111
5 votes
1 answer
377 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
2 answers
1k views

Get names from people picker and send mail to them by C#

I want to send mail to selected user in people picker control and CC to the his manager. Able to send the email to user. But how to get his manager email Id in C# Web part? Basically How to distribute ...
Milan Raj's user avatar

1
2 3 4 5
10