0
votes
0answers
14 views

Programatically Assign a content type id to 'CreateTaskWithContentType' in SharePoint 2013

I already have a content type created via the UI that inherits 'Task' and added to the 'Tasks' list. as show below: Via C#, How can I associate this content type id with the ...
0
votes
0answers
5 views

Trying to download microsoft.interop.word document on sharepoint 2010

I'm working with download function on SharePoint 2010. When I'm trying to download with my Administrator account it works good, but when I'm trying to download with another user I'm getting this ...
1
vote
2answers
47 views

Undefined responseXML on StartWorkflow

I was presented with a task to run a workflow via jQuery. I know that SPServices has this capability, but I have never tried it before being assigned this task. So I set out and found some good ...
0
votes
0answers
14 views

Problem with connectable webparts

I'm working with connectable webparts. Right now I'm sending my data from one webpart to another. On my provider I'm getting all values from database. Also the Image I'm getting from database ...
0
votes
0answers
17 views

SPTimer Jobs During Certain Time Frame

I have a request to run a timer job each hour from 12am-5am Monday-Saturday. Do I have that level of flexibility to define my timer job schedule within the FeatureActivated method in my C# timer ...
0
votes
0answers
8 views

What's the best way to create a replication/load balancing module?

We have a sharepoint doucment library, the site consist media files(like images, word document, .psd file) and then we have a local CME (Alterian) which can be integrated to the SharePoint library in ...
0
votes
0answers
28 views

SharePoint Site Content Types and Site Columns Galleries are empty

I provisioned a SharePoint (2007) site collection using C# SharePoint API. Pretty standard stuff. Subsequently, I added a couple of site columns, document libraries, etc. and then a child website ...
0
votes
0answers
20 views

how to make webpart follow windows scroll down on site

i have a webpart that i would make that the webpart follows the windows on the right site, so if i scroll down on the page the webpart are following the the screen and scroll??.. I want this because ...
0
votes
0answers
15 views

Connectable webpart multiple textboxes

I have two webpart right now on selectedindex changed of my textbox(TextboxFirstname) i send textbox data to consumer webpart, the problem is now that i have more then one textbox that i want to send ...
2
votes
1answer
51 views

Listing all the documents in SharePoint server using C#?

I'm new to SharePoint server. I need to get the list of all document stored in SharePoint server, not in particular user site. Is there any way to get all documents list , name or count using C#? ...
0
votes
1answer
34 views

what we shall use in sharepoint now Ajax or jQuery

I need to add message boxes and other components every now and then. I can use jquery plugin or ajax so I was wondering which one is the best to use in this type of scenario. I see in Sharepoint ...
0
votes
0answers
24 views

How to only import specific ListItems in SPGridView

I can print all list items in the list in the SPGridView: SPList list = witryna.Lists["Szczegoly"]; SPListItemCollection items = list.Items; gvListItems.DataSource = ...
0
votes
0answers
33 views

Infopath 2010 File Attachment control's delete not working

I have a List that is customized using Infopath form. In that list edit form I have a File Attachment control and using it I am able to attach the documents, but the "delete" icon next to each ...
2
votes
2answers
37 views

Navigation on webpart

I don't really got a problem just a question. After googling around I couldn't find any answer on what I'm looking for. Is it possible to put a <asp:TreeView/> or multiple ...
0
votes
2answers
50 views

Request.Url.AbsoluteUri displaying wrong url

var img = new Image(); img.ImageUrl = Request.Url.AbsoluteUri + "~/_layouts/images/Cv.Knowit/pie-1-4.png"; I am getting to this site wingtipserver/SitePages/ ...
0
votes
1answer
164 views

Remove Leading and Trailing Spaces from Rich Text Box using C# code

I am using a MultiLine Rich Text box in my custom list, now I want to remove leading and trailing spaces in the MultiLine Rich text box's input. I have written an List item event receiver with ...
0
votes
2answers
75 views

Hide Columns in Document Information Panel, but show in properties panel

I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
0
votes
0answers
26 views

Is i possible to render a visual webpart

I am trying to render controls inside a visual webpart but get the Error: Runat="Server" is missing so i googled out that i should use public override void VerifyRenderingInServerForm(Control ...
0
votes
0answers
18 views

I am using a Visual Webpart that are that inherits from UserControl

i am tring to download to pdf format using iTextSharper , but now the problem come when i am trying to render the controls. I make it work with Label.RenderControl(); But when starting to work with ...
0
votes
0answers
31 views

Tell compiler that the control is rendered explicitly how to

Tell compiler that the control is rendered explicitly by overriding the VerifyRenderingInServerForm event. public override void VerifyRenderingInServerForm(Control control) { /* Verifies that ...
0
votes
1answer
115 views

Render label using itextsharp to pdf and word

Could not load file or assembly 'itextsharp, Version=5.4.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. I have added ...
1
vote
1answer
34 views

Custom Page inside SharePoint 2010

i am building a .aspx Terms & condition page for my Intranet with Save & Cancel buttons: When we click on Save the user save inside a list as he agree on the terms & Condition content ...
0
votes
1answer
34 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
61 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
3answers
83 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) { ...
0
votes
0answers
17 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
20 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
0answers
23 views

Can only click on one attachment at time not multiple ones

For uploading to List I am using the Upload Button. First I have uploaded a word document the first image, when I click it I can open the document, after that I upload a second document a pdf ...
0
votes
0answers
22 views

Fileupload to List and DataBase display attachment in Repeater

I have created a Fileupload that save a attachment to a list , and also to a database Now i am trying to display the attachment in a repeater from the database I get it to work to when pressing upload ...
0
votes
1answer
20 views

Fileupload cannot find file

When I click on upload button it says that my fileupload does not contain a file. Why that? Did I miss something in my code? //Add profilepic to SP list SPList ...
0
votes
1answer
201 views

how to made new post for sharepoint newsfeed webpart through custom webpart

i have a requirement to made new post through custom web part and this must be shown on sharepoint 2013 news feed web part i am new with share point after the lot of googleing find a list of news ...
1
vote
1answer
57 views

SharePoint, LINQ & Reporting Services Tools

I'm new to SP and SSRS, so I want to check if my thoughts are correct. Report Builder and BIDS suck on data retrieval so I have to go deeper using code. Is it possible to write some code in C# using ...
1
vote
1answer
26 views

Wrong skilltype in listbox

On page_load, in listBoxDatabase it shows both Programming skills and Database skill, i just want it to provide the "Database" skill. This is my table in SQL: This is my method that provides it ...
0
votes
0answers
18 views

Wrong attachment url when display on image control

First i'm saving the attachment to a list & the url to a db. But when i want to get the url from a db and show it on a image control i dont get the image to be shown. ...
-1
votes
1answer
15 views

How to parse different valus to table from listbox thats on same Line [closed]

I have a dropdownlist and a checkboxlistor , when selecting from them a display the value in a listbox, so i can add multipel, like this.. Drop1-check1... Now the problem is how do i parse them them ...
0
votes
0answers
20 views

Page_load postback false how to

I want to set pageload to not postback the whole SharePoint site. Is it possible and how do I solve it? Because every time I press a sender it updates the site?
0
votes
0answers
4 views

Seperate two listbox values

I'm working with a SP project there i want to save a CV. I don't really know how to do this step. Any suggestions?
0
votes
1answer
76 views

Show hidden textbox and label after dropdownlist selectedindex changed

C# code: protected void DropDownListDB_SelectedIndexChanged(object sender, EventArgs e) { if (DropDownListDB.SelectedValue == "Other") { LabelIfOtherDb.Visible = ...
0
votes
2answers
401 views

How can i programmatically get the url of a “Page” located in “Pages” library? SharePoint 2010

I am building a site map using asp:TreeView control, the site map will show a structure consisting of the root site collection, subsites and pages. I am note able to get the url of those pages so i ...
0
votes
5answers
124 views

I like to get to the top in SharePoint, Please help me [closed]

I am enthusiastic in learning SharePoint, I want to know some detail. From where should I start learning SharePoint to get expertise. How should I get to the top in SharePoint? I want to keep ...
0
votes
1answer
25 views

Listbox duplicate values

SOLVED protected void ButtonAddDevTools_Click(object sender, EventArgs e) { foreach (var vItem in ListBoxDevTools.Items) { if (ValueAlreadyInListDevTools(vItem)) ...
0
votes
0answers
114 views

Create user profile programmatically

I want to overwrite the existing user profile that are in sp with my own one. public string AccountName { get; set; } public string WorkPhone { get; set; } public string Department { get; set; } ...
2
votes
2answers
134 views

Deploying a webpart to multiple site collections?

Is it possible to Deploy a Webpart to multiple Site Collections, and not only to one?
0
votes
1answer
51 views

Gridview is not displaying

I have added a gridview in my Visual Studio project. The gridview is set to visible. After deploying the project the GridView is not displayed, but I don't know why. What can be the problem? I feel ...
1
vote
1answer
289 views

Display SelectedItem.Value from Dropdownlist and Checkboxlist in a Textbox

Solved to add from dropdownlist,checkboxlist in a textbox multiple protected void ButtonAddDataBase_Click(object sender, EventArgs e) { string dropDownListValue = ...
0
votes
1answer
134 views

Setting my development and production environment for SharePoint 2013 server

I need to set up the development environment and the production environment for SharePoint 2013. I have read the following link on MSDN http://technet.microsoft.com/en-us/library/cc262485.aspx which ...
1
vote
1answer
210 views

XSL Style Sheets itemstyle.xsl

I have dynamic image slide show in website sp2010 . the first picture is hyperlink to other website. I found for image in itemstyle.xsl Can I remove (hyperlink for image ) from itemstyle.xsl from ...
6
votes
3answers
281 views

“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?

I'm talking about this blog post by Chris Woodill. He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists: Primary And foreign keys: one of the most ...
0
votes
2answers
51 views

Site column cannot be removed

How do i remove this column? I did create a new Content Type with Title, Nickname and Comments columns. I DID NOT choose the "CommentID" column. But it still gets there, how do i remove the site ...
0
votes
3answers
268 views

Value does not fall within the expected range

SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); query.Lists = "<Lists>" + "<List ID=\"" + ...

1 2 3 4