0
votes
0answers
23 views

<SharePointWebControls:UserField> in visual web part not displaying more than one users details

I have a list in which there is one user field and in the visual web part I want to display the data of that list. To view user's details I want to display the details in the way SharePoint displays ...
1
vote
2answers
35 views

How to make taxonomy picker accessible for anonymous users?

I have a visual web part in which I have placed one taxonomy picker control to select the managed metadata for user. The web part is going to be accessed by the anonymous users. But when as an ...
0
votes
1answer
66 views

Changing Mode from BrowseDisplayMode to Edit Mode

I have a custom webpart, i am trying to get to do a one-click transition from WebPartManager.BrowseDisplayMode to SPControlMode.Edit. Unfortunately, there is no direct means of transitioning between ...
0
votes
1answer
87 views

Using Charts in SharePoint 2013

I want to use a custom chart in SharePoint which picks up data from a list? I have not worked with SharePoint charts can anyone give me an example of a working chart? And also if there are many ...
0
votes
2answers
225 views

How to set the ScriptManager Property programmatically in Visual Web Part?

I have a web part in which I have placed an update panel. To use this web part in the Safari browser there is an issue that the whole page is refreshed instead partial page rendering. The same web ...
1
vote
0answers
142 views

Update panel not working in Safari browser

I have a visual web part in which one button and a label inside an update panel. When I run the web part in IE and Firefox it works fine but it does not work in Safari. My declarative part is: ...
0
votes
2answers
479 views

How to open document library file in client application programmatically?

I have a web part which shows the list of documents which are stored in the document library. I want to open the document in respective client application of client machine programmatically. ...
1
vote
0answers
318 views

Update panel issue in visual web part

I have created a web part using update panel and the page where I placed that web part there is also a task list with timeline view. My problem is that whenever my update panel gets posted back the ...
1
vote
2answers
1k views

Session and HttpContext not available in web part

I have a web part in which I have Grid View which displays data from a custom list. In the Page_Load I am initializing the DataTable. I want to store the DataTable object in Session object so that it ...
0
votes
1answer
321 views

Using SharePoint resource file in my web part

I have a SharePoint application and for that I have created resource files which are inside App_GlobalResources folder. I am making a visual web part and want to use those resource files rather ...
0
votes
0answers
172 views

SPServiceContext class not available in SharePoint

I have made a web part in Visual Studio in which I am using the following class: Microsoft.SharePoint.SPServiceContext It is working fine. Then I created a new visual web part project and tried to ...
0
votes
1answer
220 views

Unable to create Image Slider web part using slideShow.js

I want to make the web part for image sliding for Picture Library. I got this link for doing so. My code for visual web part is : <!DOCTYPE html> <html> <head> <meta ...
1
vote
2answers
2k views

How to separate Title and Url from hyperlink field?

I have created a column which is of type Hyperlink or Picture. I want to display the list of links in web part, in such a manner that title should appear as text and the Url should be bound in that ...
0
votes
2answers
103 views

Unable to store the uploaded file to the Images mapped folder

I have a file upload control in my visual web part which will enable user to select the image. I want to put it in the mapped folder. My code is: if (flPicture.HasFile) { SPSite ...
1
vote
1answer
302 views

User profile picture in visual web part

I want to make user upload the profile picture in my web part, I searched over the internet how to accomplish this? I found the this post which describes how to get it. My code is: void ...
1
vote
1answer
1k views

How to get selected terms from Taxonomy web tagging control

I have created a web part in which there is one taxonomy picker control to enable user to select department. I want to store the selected term to the list column which is of type Managed Metadata. ...
0
votes
3answers
2k views

Unable to validate sharepoint date time control

I have added a <SharePoint:DateTimeControl> in my visual web part and I want to make it mandatory. To do so I referred this link and used as per my code. My code is: <tr> <td> ...
0
votes
0answers
104 views

ClientPeoplePicker control & TaxonomyWebTaggingControl stopped displaying used in visual web part

I developed a visual web part in which I have used the <SharePoint:ClientPoplePicker> control choose the users. It worked perfectly the day I created(before 2 days) but now it's not working. ...
1
vote
1answer
613 views

How to make taxonomy picker required when used in visual web part?

I have created a visual web part in which user has to specify a field's value from taxonomy picker control. I want to make that value mandatory. The control is placed successfully but when I use the ...
1
vote
2answers
229 views

Error Register Assembly visual web part

I'm developing a web part in SharePoint 2013 using VS2012. In this web part I'm trying to use third party dll controls like telerik but i face a problem : Could not load file or assembly...... and ...
0
votes
1answer
46 views

I can't find the markup for webpart properties in visual studio

I've created a custom web part editor but I don't know where to look if I want to find the markup for all the properties of my webpart inside visual studio. I mean I can create new controls on ...
0
votes
0answers
165 views

Programatically getting SharePoint 2013 document uploader destination folder structure

I want to add documents to my document library folders programatically. I don't know how to get the destination folder structure to upload documents to SharePoint. How do I get destination folder ...
4
votes
3answers
5k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix ...
0
votes
0answers
119 views

Is there a way to make a SPGridView look like XSLTListViewWebPart?

is there a possibility to make an SPGridView (or any other WebControl) look like an XSLTListViewWebPart? I want to mimic a sharepoint list, but can't use a plain list, since i have calculated data ...
0
votes
2answers
7k views

How to add jQuery script to a custom visual webpart?

Similar to some previous questions, I'm trying to use jQuery in a visual web part but I keep getting that jQuery is undefined. I've added the jQuery script to SiteAssets as well as a script folder ...
1
vote
2answers
1k views

Add visualwebpart with vs2012 does not add an ascx path

I am making a visual webpart with custom properties. Basically its a link button which Text and Url properties can be set by the user via web part properties. All samples I have seen say that in vs ...
0
votes
1answer
319 views

2007 templates broken in 2013

We're upgrading to SP2013 from 2007 and using 2010 as a stepping stone for the DB upgrade. (This is all out of production, we're building a plan to do production) The problem we're having is that many ...
1
vote
1answer
437 views

need to display image of the user in the people picker, Sharepoint 2013?

In the people picker, the attributes it shows are name,designation and their online or offline status, Is it possible to display the image of the person?
1
vote
1answer
627 views

How to deploy SharePoint 2010 Sandbox solution on SharePoint 2013 Office 365

I have developed a SharePoint 2010 Sandbox solution in Visual Studio 2012 which has been deployed on Office 365 SP2010. The solution contains custom lists, visual web parts and workflow activities. I ...
0
votes
1answer
845 views

In SharePoint 2013, How do I use the person field (people picker) in a custom web part?

Sharepoint 2013 gives a pop up when the cursor is kept on top of a users name ( the pop up allows to connect to email, lync, etc) I need to add that field in my custom webpart... Is there any way ?