The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

1
vote
1answer
15 views

Add item to lookup field by code c# ?? :(

I have list in sharepoint and it contains lookup field .... how to insert an item to this field by code ,,,because i have a problem in it and i tried the following code but no item is added ...
0
votes
1answer
14 views

Change .aspx on a SPView

I'd like to create a SPView for my list that points to a complete custom aspx page. And I need to do that through c# code. Even if I could just override the AllItems.aspx in a Visual Project Project, ...
1
vote
1answer
18 views

Customizing discussions list in SP2013 with JsLink

I'm working on a community site and was looking at ways to modify UI of the discussion list that is presented to the user (and possibly more going forward). It is my understanding according to the ...
0
votes
1answer
19 views

I want to delete attachment and listitem but using this code it deletes all the listitems

private void DeleteFromSharePointList(HyperLink hp) { SPWeb web = SPContext.Current.Web; web.AllowUnsafeUpdates = false; SPList myList = web.Lists["Document cv"]; ...
0
votes
1answer
17 views

how to add multiple attachments to only one ListItem

This code creates a new listitem for every attachment but i only want to create 1 listitem and add all attachments to it SPList myEmployeeDocList = web.Lists.TryGetList("Document cv"); if ...
0
votes
1answer
28 views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
0
votes
3answers
41 views

Collection was modified; enumeration operation may not execute.

I have made it work to delete attachment but can not delete listitem Error: Collection was modified; enumeration operation may not execute. private void DeleteFromSharePointList(HyperLink hp) { ...
1
vote
1answer
22 views

Insert Hyperlinks in Custom Content Editor Web part SP 2010

I have a weird situation in content editor web part. entered text and made it as hyperlink - then went into second line to enter text and text still follows the hyperlink which was applied on the ...
0
votes
0answers
13 views

Delete attachment from list

After debbuging listItem has the url http://wingtip.se/attachment/1 and the navigate url has http://wingtip.se/attachment/1/document.doc so the listItem the extension is missing thats why i cant ...
0
votes
0answers
11 views

PageRequestManagerServerErrorException

I am working on custom web part on SP2010 using C#. I sometimes the following javascript error on console while submitting the form from UpdatePanel button using postBack: SCRIPT5022: ...
0
votes
1answer
18 views

sharepoint sent email attachment don't having pdf format

code is developed to attach pdf and send as email. But email received dont contain the pdf format. On click of file, it gives option of "open with". mentioned is code used.... "attach1" is the path ...
0
votes
0answers
16 views

Delete attachment using checkboxes

i have a repeater that has hyperlinks and checkboxes i am trying to delete from database and also from sharepoint list attachment the attachment that checked in the repeater. var db = new ...
0
votes
1answer
19 views

List with Page_Load event

For a project I'm working on, I'd like to get a Page_Load C# method behind a Document Library, but I've been unable to achieve this, so far. Any help would be greatly appreciated! Some details on ...
0
votes
2answers
18 views

create survey from code with rating scale

I'm creating a sharepoint survey with VS2012. I managed to create the survey with several question and here is some sample: SPWeb web = properties.GetWeb(); Guid id = ...
-2
votes
0answers
28 views

ImageUrl / Attachment and also image [closed]

how could i include the attachment url and also a image on it collAttachments.UrlPrefix + Attachment display the filename lik mydocument.doc but i also want to have image url as an image if (fExt == ...

1 2 3 4 5 111
15 30 50 per page