0
votes
0answers
13 views

SPGridview Grouping Not Working for Same Value in the Grouping Column

I am working with SPGridview with Grouping, Pagination and Sorting Enabled. It Worked fine but When I have same values in a column for a page the Grouping with Collapsing is not working. For example ...
0
votes
0answers
12 views

ListItemVersion content type read in SharePoint2010

In SP2010, create a DocLib which supports Content Types (add the Dublin Core Document content type, and set it as the default CT) and enable supports Versions. similarly add another content type Link ...
0
votes
3answers
28 views

'Writing' HTML Code in C# SharePoint Web Part

I'm trying to figure out a way where I can write html code to a SharePoint Web Part with C#. I don't even know if this is possible but I'm assuming it is. In JavaScript it would just be something ...
0
votes
0answers
8 views

New Field not available in infopath Existing Forms

I am working with Infopath forms and workflows. 1) I have added a new field to the existing Data Source in Existing Infopath Template. But I have not added a User control from the added field. 2) I ...
0
votes
1answer
28 views

How can you override Upload.aspx or AllItems.aspx etc. SharePoint 2013 (NOT SP Designer)

Does anyone know how to override the code that is executed when a user clicks on "new item". I want to use a custom template / code, so the user will not have to upload the new file each time the ...
1
vote
1answer
22 views

Gantt Chart alternatives in Sharepoint, no Silverlight

I currently have a Silverlight Gantt Chart embedded in my Sharepoint CPM. Since this can't be displayed on mobile Browsers I'm searching for an alternative Gantt Chart that I can embed. Preferably ...
0
votes
3answers
120 views

Cannot cast from double to int [duplicate]

I was working with a small piece of code in Sharepoint, that goes like this: int? do_ = (int?)re["mi"]; // consider "re" a dictionary<string, object>; The expression to the right of the equal ...
0
votes
1answer
10 views

Use SharePoint:ProjectProperty in C#

Excuse me if this is something simple or there's a better way to do this. What I want to do is get my subsite's URL, and use it in my master page in some C#. I know that I can use ...
0
votes
1answer
26 views

Changing “required” property of a field in SharePoint 2010 custom Newform.aspx

I have created a custom newform.aspx by cloning the form generated by SharePoint Designer and added it to a VS2010 project. Everything seems to be working fine like setting the value etc... but I ...
0
votes
0answers
10 views

Sharepoint custom properties and the address book

I have a web part that uses two custom properties to allow users to store a string that is later compared against a set of data. Is it possible to use the OOB SharePoint "Browse" (looks like an ...
0
votes
1answer
16 views

Load data in a webpart lifecycle works first time, but in a popup reload it doesnt refresh

So, here is the scenarion I have a webpart that loads some data. I have in another place of the page a button, that opens a popup, when the user does something in that page (create action), the popup ...
0
votes
1answer
24 views

User not found when adding an AD group to an SP group

I am trying to run the code suggested here: http://sharepoint.stackexchange.com/questions/72431/what-is-the-correct-way-to-add-an-ad-group-to-an-sp-group-with-permissions The EnsureUser line works, ...
1
vote
0answers
11 views

URL Request variable has different encoding SharePoint 2010/2013

In part of my code in a SharePoint 2010/2013 program, I do the following: HtmlPage.Window.Navigate(new Uri(url, UriKind.RelativeOrAbsolute), "_blank"); Where the url has something like ?doc=äñǣ.tif ...
0
votes
0answers
54 views

Downloading excel files from sharepoint 2010 using c# windows form application

So long story short, I am creating an multiple applications that all link together to form a PowerPivot slide show. My first app is a Windows form application that takes any LOCALLY stored excel ...
0
votes
1answer
47 views

Programmatically populating html table cells

I would like to loop through a table that I created using c# code and display data pulled from a sharepoint list which was formated in a table. This is the code I came up with. protected override ...
0
votes
0answers
70 views

Use C# Variable in HTML (SharePoint Web Part)

I am trying to reference a C# variable (myString) into HTML. Everytime I run the program, I get the following error: c:\Program Files\Common Files\microsoft shared\Web Server ...
0
votes
1answer
158 views

Why this small chunk of code is consuming 97,868 k memory

I have this small chunk of code and I can't understand why it's taking soo memory. static void Main(string[] args) { using (SPSite mySite = new ...
0
votes
0answers
43 views

Push notifications from SharePoint 2013 to Console Application

How can I create a (C#/.net) console application that can subscribe to push notifications from SharePoint 2013? Any hints, sample code, or a library will be much appreciated. There are guides such ...
1
vote
1answer
24 views

Sharepoint 2010 - PickerEntity method not found

I created form as webpart for Sharepoint Foundation 2010 with custom PickerEntity (used for pick IDs from MS SQL). When I deployed webpart to development environment (through right-click on project -> ...
0
votes
0answers
25 views

jQuery.noConflict() and Sharepoint 2010 WebParts

I've made two webparts for Sharepoin 2010 with jQuery plugins fancybox (slider) and cycle (slider). I need to locate both webparts on one page. But it doesn't work. I tried to use jQuery.noConflict() ...
0
votes
2answers
36 views

Loading data form DataTable to SPGridview C#

I'm making some webparts for myself and I want to populate SPGridview with some data. DataTable table = /*some data*/; SPGridview grid = new SPGridview(); // setting up SPGridview properties ...
1
vote
3answers
56 views

Cannot Access C# Variable outside of foreach Loop

I currently am developing a SharePoint Web part that will populate some stuff based of the of the List. Everything is working as expected but I can't seem to access the variable that has all the list ...
0
votes
1answer
24 views

How to Find last IISreset time in C#

Hi i am working with sharepoint 2007 , and the requirement is to stop all workflows on sharepoint lists in progress after an IISreset. How do i Programatically find the last IISReset time using C#.
0
votes
1answer
39 views

Starting sharepoint 2007 workflows simutaneously on list items using Timer job

I am trying to programmatically start a workflow on multiple items simultaneously of a sharepoint 2007 list , I have found code to start workflow programmatically but the issue is, The workflows don't ...
0
votes
3answers
51 views

c# - Turning a string variable into a string literal

I'm working on an application that interfaces with SharePoint 2010, and one of the SP objects (SPFolder.Subfolders[index] if you're curious) requires a string to index the items it returns. The ...
0
votes
0answers
51 views

Permissions granted to user '' are insufficient for performing this operation

Exception occurred when calling SSRS(SQL Server Reporting Service) web service(WCF): The permissions granted to user '' are insufficient for performing this operation. ---> ...
0
votes
0answers
40 views

C#: Duplicating of Objects when adding item to List

I am working on a SharePoint webpart which requires retrieval of data using LINQ. I needed the result to be on a List-type object so that I can use the result within, freely. But the issue is that, ...
0
votes
0answers
29 views

Can I send to a fax number using SPUtility.SendEmail?

We are using SPUtility.SendEmail to send notification emails from our SharePoint 2010 application. We were hoping to be able to use this with our fax server for when faxes are required and just send ...
0
votes
0answers
28 views

Password Not Match - SharePoint 2010

I have a SharePoint site. This is a FBA site, and I have the Login.aspx page where I enter my user name/Password and I can login successfully. But, when I try to connect to the same service through ...
0
votes
0answers
46 views

SharePoint, Adding new Manage Promoting Sites programatically using c#

Please guide me, i've been seearching for a code that would add programatically using windows application new site on Manage Promoting Sites on Share point. i already have something that would ...
0
votes
0answers
17 views

Integrating sharepoint infopath webforms in to our asp.net webapp

We have a web application that our field employees use to complete their work. One of their common tasks is filling out various forms. For a number of years now we have been using InfoPath. Which ...
0
votes
0answers
35 views

Uploading the file to sharepoint and automatically check in the the file after upload using WebClient

Uploading the file to Sharepoint by using webclient PUT method its getting uploaded but checked out in my name.How we can checked in the file automatically?? Please suggest me how to fix the issue ...
1
vote
1answer
85 views

Troubles on getting data from a List sharepoint 2013

Im having some troubles when i try to retrieve data from a list in sharepoint 2013. SPSite osite = new SPSite(@"http://win-kee1pn6mrku"); SPWeb web = osite.OpenWeb(); SPList list = ...
2
votes
4answers
304 views

Open PDF with javascript

Is there a way to open a PDF document using JavaScript (or C#) and have it automatically open with Acrobat, let the user edit document and upon the the user closing document, save back to server. ...
0
votes
0answers
7 views

Is it possible to change SPfile.item.name with SystemUpdate()

I am trying to change the name of some items but i do not want to use SPFile MoveTo() function because it changes the name of the last editor. What I need is for the editor name to stay the same(as ...
-2
votes
1answer
74 views

unreachable code detected in a foreach

I have got this warning in vs2012 but can't figure out where is the unreachable code. private void LoadGridData() { string currentUrl = SPContext.Current.Site.Url; var jobInfoList = new ...
0
votes
1answer
26 views

Change WebPart Custom Properties Layout

I'm developing a WebPart for Sharepoint 2010. I created custom properties but i would like to change the layout. I would like that the elements below would look like the default elements(spacing and ...
0
votes
2answers
23 views

WebPart UpdatePanel namespace missing

I'm creating a web part. I need an update panel to refresh controls when using dropdowns list. I dont know why but it's missing the namespace when it shouldnt right? using Microsoft.SharePoint; using ...
-1
votes
2answers
34 views

Web service to interact with sharepoint

I am in need of some assistance on a current project. I'm working on a windows service that downloads specific sharepoint files and converts them to a pdf, then emails them to multiple recipients. The ...
0
votes
1answer
41 views

Web Part Sharepoint - Dropdown SelectIndexChanged to set visibility not working

I'm developing a web part for sharepoint 2010. I have a dropdown with an event. On change it should show one label or another, depending on the value but this is not working. I did put autopostback to ...
0
votes
0answers
26 views

CAML query to select users IDs

I'm trying to select users ids from custom tasks lists. All users are in one SP Group and I need to collect users Ids that doesn't have tasks. query.Query = string.Format("<And><Membership ...
0
votes
1answer
45 views

Sharepoint - Event(s) on web part edit

Question: Is it possible to execute code solely upon the editing/settings change of a web part (presumably via event listeners) and if so can someone link/provide an example? Background: I'm ...
1
vote
0answers
82 views

Filter only Document Libraries from the listdata.svc Sharepoint Restful Services

I want to filter only the Document Libraries from the sharepoint 2010 listdata.svc Restful service's response. How can i achieve that? Service URL : http://SITE_URL/_vti_bin/listdata.svc Pls help.
0
votes
0answers
30 views

ClientContext object not updating properly

ClientContext cl = new Microsoft.SharePoint.Client.ClientContext("http://" + "mysharepoint" + "/" + SubWeb); System.Net.NetworkCredential cred = new System.Net.NetworkCredential("myuser", "mypass", ...
0
votes
0answers
21 views

403 Forbidden Sharepoint and Visual Studio

I have created a simple claims based SharePoint site, and when trying to add a service reference from Visual studio, it gives the error "_vti_bin/authentication.asmx'. The request failed with HTTP ...
0
votes
1answer
30 views

Authentication at reversal to Web app of Web Part Sharepoint 2003

There is sharepoint 2003. Developed Web part. When a user accesses a web part, then passes authentication on the server side. I need within the Web part to send a request to Web app. When I send a ...
0
votes
1answer
148 views

SharePoint object model: connect to remote server?

I'd like to know if it is possible to connect to a remote SharePoint site via a new SPSite object from a SharePoint development box. I've looked around and I haven't found a conclusive answer to this ...
0
votes
0answers
21 views

Custom WebService On Sharepoint 2007

Hi guys i hope you can help me with this, on our production environment we have a Custom WebService deploy and works great, this code is old and the person that wrote it is not longer on the company, ...
0
votes
0answers
9 views

Can dws webservice CreateFolder method be used to create folder on any folder other than default folder?

Can dws webservice CreateFolder method be used to create folder on any folder other than default folder? Or is there any other webservice to create folder on given path.
0
votes
1answer
27 views

Get data from share point site

I have more than one of share point sites which are fully developed by share point technology. it is related data is stored in share point DB. My question is: Is there a way to get data from share ...

1 2 3 4 5 38
15 30 50 per page