0
votes
0answers
43 views

How to filter list in sharepoint by another webpart(dropdown list) in C# code?

I wanna filter list in sharepoint by using dropdown list in visual studio, And view in sharepoint can't serve me in that , And i searched a lot but i didn't reach any thing
0
votes
1answer
9 views

Setting audiences in share point 2010

I have written html/css code to display the menus. Now i need to hide the multi level menus(links) using windows authentication. i mean we need to set the target audience for the links. But,. i do not ...
0
votes
0answers
22 views

code of approval workflow in c#

I have a task to make approval workflow between three lists . When i add item to first list ,workflow should check second list and and assign tasks to specific people that on active directory(and they ...
0
votes
1answer
34 views

Will code created with 32 Bit SharePoint Designer 2013 be readable to another computer with the 64 Bit version of SPD 2013?

One of the developers on my team is installing SharePoint Designer 2013 on a machine with 32 Bit office. He attempted to install the 64 bit version and this error appeared: Got we can't install the ...
0
votes
2answers
66 views

Code Behind in SharePoint

I have a .aspx page and a .aspx.cs page. These were created in VS. I've copied the solution folder to SharePoint using SPD. When browsing the page I get an error Parser Error Message: The codefile ...
1
vote
1answer
31 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
32 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"]; ...
1
vote
1answer
47 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 ...
1
vote
1answer
279 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 = ...
1
vote
1answer
194 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 ...
3
votes
1answer
145 views

Is it possible to prevent SharePoint 2010 from creating a folder structure when users upload files?

I have a wiki library with pages and a document library which I've configured to be an assets library. How do I prevent sharepoint from creating a directory structure for file uploads? The wiki pages ...
0
votes
1answer
42 views

List Id Changes

I am trying to find out the id for my list SPSiteDataQuery query = new SPSiteDataQuery(); query.Lists = "<Lists><List ...
0
votes
0answers
21 views

Old attachment disappears new one shows up [duplicate]

private List<string> arrayList = new List<string>(); protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { { SPWeb web = ...
0
votes
0answers
30 views

Repeater Databound show Duplicates on Attachments

When add One attachment to my list then show it show my attachments in the repeater When i add a second attachment to my list then it show the old attachment url and the new one also and the old ...
0
votes
0answers
17 views

Connectable Webpart ButtonLink To Connect two webparts to send data

When i click on Linkbutton i want to display another webpart Before i have used this with an listbox if (ListBox.SelectedItem == null) { Label1.Text = "Error:You Have Not Selected Anything!"; ...
0
votes
1answer
60 views

Repeater display attachment

new SPAttachmentCollection is getting red what the problem? Want to display an attachment in Repeater <%# (new ...
0
votes
0answers
40 views

Display attachment from List in Webpart?

I Wounder how to display an attachment from an list to a webpart? my Code for adding the attachment to the list if (FileUploadImage.PostedFile != null && FileUploadImage.HasFile) ...
2
votes
1answer
32 views

Do I need an Rss Feed? Where to Start?

I Have an WebPart That saves News to an List and in this Webpart it show the the news as u see my problem is , if i add more news in the list and then what to show it in this webpart it only shows ...
-2
votes
1answer
52 views

Textbox Multiline MaxLength

I have created an Multiline textbox and need to define the MaxLength on it. I have read that we can use javascript to solve it but since I am new in JavaScript so maybe someone can help me? ...
0
votes
2answers
45 views

Set textbox MaxLength not Working

foreach (SPListItem news in items) { TextBoxContents.Text = news["Contents"].ToString(); TextBoxContents.MaxLength = 10; news.update(); } Setting ...
0
votes
1answer
72 views

<div class in textbox why?

SPWeb web = SPContext.Current.Web; SPList list = web.Lists.TryGetList(DropDownListSelectCategory.SelectedItem.Value); SPListItemCollection items = list.GetItems(); foreach (SPListItem news in ...
-1
votes
1answer
76 views

Dropdownlist,SelectedItem From SpList show in Labels

I have a webpart that contains a list were i have values and columns in it. In another webpart I want to use a Dropdownlist where I can select an item in the list that i want. I want it to take ...
0
votes
1answer
30 views

Create Sharepoint HyperLinks Help

I would like to saves multiple hyperlinks to a list. Can anyone guide me where to start?
1
vote
1answer
681 views

The remote server returned an error: (401) Unauthorized sharepoint

Here is my scenario:- I have my Sharepoint server hosted on Domain A and I have my machine on Domain B. There is not any trust between Domain A and Domain B. I am trying to access the Sharepoint ...
1
vote
0answers
26 views

When trying to access my sharepoint site in server explorer

When trying to access my sharepoint site in server explorer (Sharepoint connection) i get the following problem.... I am running SP 2013 and VS2012
2
votes
1answer
73 views

Deploying Sp Solution

Add Solution - stsadm.exe -o addsolution -filename "C:\Users\Administrator\Desktop\Kingen.wsp" Deploy Solution-stsadm -o deploysolution -name Kingen.wsp -url http//xxxx -local -force ...
1
vote
1answer
61 views

Attachment problem!

I want to save attachments to a list, and i'm using the following code: SPSite site = new SPSite("http://knowitintranet:9797/"); SPWeb web = SPContext.Current.Web; SPList list ...
0
votes
1answer
47 views

Remove selected attachment from listbox and from SPlist

for (int i = 0; i < ListBox1.Items.Count; i++) { if (ListBox1.Items[i].Selected) ListBox1.Items.Remove(ListBox1.Items[i] ...
0
votes
1answer
34 views

Attachment Problem…?

hi i am using built in attachment in a list i have created an textbox and a button and i would like to show the url of the attachment in the textbox TextBox1.Text = ...
0
votes
1answer
62 views

Remove Attachments sharepoint

I am trying to remove an Attachment from SPList , i would like to remove it from an webpart , that uses an Listbox and an Delete Button oreach (SPListItem customer in items) { ...
1
vote
2answers
297 views

Retrieving attachments from SP List

I want to retrieve attachments from a sharepoint list. But don't really know how to, any suggestions? SOLVED: Check code under picture. public void MyData(string prod) { SPWeb web = ...
0
votes
1answer
81 views

Uploading file to pic and doc library

I'm working with a webpart and saving the data to a SPList. I also got two fileUpload controls and i want to upload a picture to a picture library and a document to a document library. Is that ...
0
votes
0answers
53 views

How to put image attachment to image control to display

Anyone that knows How to put image attachment to image control (to display) if (FileUpload_Pic.PostedFile != null && FileUpload_Pic.HasFile) { ...
1
vote
1answer
63 views

Update existing word document from SharePoint via code

I'd like to insert a line of text into an existing Word document that is stored in a document library. Would this be possible to do through an event or workflow? If so, how would I go about ...
1
vote
1answer
112 views

Google Map Visual WebPart

Some that has an guide on have to create an Visual WebPart using Google Maps for an list.... protected override void Render(HtmlTextWriter writer) { string rScript = ""; rScript += ...
0
votes
0answers
111 views

Connect Picture Library with SharePoint List, is it possible?

I'm working with the following webpart: When i click on the save button i'm saving the information to a SharePoint list, and my picture i upload in the fileupload control to a picture library. I ...
0
votes
0answers
14 views

Attachments to Listbox Display!

I Have Created an Fileupload with the following code. if (FileUpload_Pic.PostedFile != null && FileUpload_Pic.HasFile) { Stream fStream = ...
0
votes
1answer
63 views

Fileupload image to library

i want to use an List that i create by me self that named MyList that done! Then on my webpart i want to use Fileupload to upload an picture to MyList, is it possible? Then for showing it on my page i ...
1
vote
2answers
162 views

how to have connectable web part on two pages?

I have two connectable webparts but i want to have them on different pages is it possible? If it is , how to i solve this?? public interface IData { string Mydata { get; } }
0
votes
1answer
94 views

Update ListItem

Solved it with a hiddenfield control: public void MyData(string prod) { SPWeb web = SPContext.Current.Web; SPList myList = web.Lists.TryGetList("YourList"); if ...
0
votes
1answer
26 views

I have written following code wont get it work because after my query i dont know what to write

SPWeb web = SPContext.Current.Web; SPList customerList = web.Lists.TryGetList("MyList"); if (customerList != null) { SPQuery query ...
0
votes
2answers
76 views

delete item in list

SPWeb web = SPContext.Current.Web; SPList list = web.Lists["MyList"]; if (list != null) { for (int i = list.ItemCount - 1; i >= 0; i--) { ...
0
votes
1answer
109 views

GetitembyId in list

SPWeb web = SPContext.Current.Web; SPList list = web.Lists["MyList"]; SPListItem item = list.GetItemById(1); item["Title"] = TextBox_Name.Text; item["ProductNumber"] = TextBox_ProdNum.Text; ...
0
votes
1answer
56 views

Update SPLIST Help Problem?

SPWeb web = SPContext.Current.Web; SPList oList = web.Lists["MyList"]; SPListItem oListItem = oList.Items[1]; oListItem["Name"] = TextBox_Name.Text; ...
0
votes
0answers
22 views

Developer tools not working properly for the sharepoint publishing site

I created one publishing site in sharepoint. Now I want to change the look and feel of that page. For that I want to identify the areas by using developer tools in IE9. When I click F12 and move ...
1
vote
1answer
53 views

Include in SharePoint 2010

I have a custom HTML menu in my MasterPage. I would like to have it in a separate file so it can be easier to update. Is it possible to do an Include?
0
votes
1answer
40 views

Site page as a Mobile view

I want to make a page that functions as the mobile view of our SP2010. It has to be clean and clear of all the MS (SP) code to keep it w3c standard, is there any way to do something like this? My case ...
0
votes
0answers
81 views

Sharepoint Community site: Display custom field in Discussions List

Hi Im working with Sharepoint 2013 Community site, i have added a custom column in discussions list but when I go to discussions page(Topic.aspx) I cannont view that custom column. Is it possible to ...
0
votes
0answers
54 views

Sharepoint Serialization

I'm interested in how SharePoint serialization works, and whether I can achieve what I want to achieve. I've constructed a new webpart, a chart. This webpart has a single ChartSettings which has a ...
0
votes
2answers
353 views

How can I export external content type as a BDCM file with powershell?

I can export external content type from SharePoint Designer or Central Administration. However, I want to export ect as bdcm file with powershell in order to export ect automatically. There is an ...

1 2