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

learn more… | top users | synonyms (3)

0
votes
0answers
22 views

SP2007 - dynamically add/delete rows from SPGridView;

I want to create GridView like this : This is code for my UI: <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" AutoGenerateColumns="false"> <Columns> ...
0
votes
3answers
50 views

Application page as home page

I am developing a SharePoint 2010 Project totaly in Visual Studio and C#. I do not want to use SharePoint Designer and configuration via browser. I need to set a LAYOUT page (application page) as ...
0
votes
0answers
43 views

CAML query is returning extra items that are not part of the filters

I am working on a Team site collection inside SharePoint server 2013. now inside the team site collection i have 5 subsites, and i want to return list items from the subsites that have the following ...
0
votes
1answer
161 views

Modal dialog window UI won't load before code behind

I have become onto a problem, where my Modual dialog window won't load it's UI before the code behind executes. But once the code behind executes, then the UI won't load until code has executed and ...
0
votes
2answers
551 views

Upload a file in SharePoint server from a local machine connected through LAN using c#

We have a SharePoint server with admin account in it and I was connecting it from my local machine through IP and SharePoint port manually. But I need to write a program which needs to upload the ...
0
votes
1answer
175 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: ...
0
votes
0answers
26 views

Creating custom site columns using Visual studio will not show the new site columns [duplicate]

I want to create new site columns using visual studio, so i did the following steps:- create a new SharePoint 2013 empty project. i add two site columns as follow:- <?xml version="1.0" ...
0
votes
2answers
265 views

C# : Access denied reading SharePoint groups from context user

I've made a SharePoint Provider Hosted App. Into the App Web Project, displayed through a Web Part in my SharePoint Page, I have a web page named Default.aspx. On this page I have a button, on which ...
0
votes
3answers
286 views

how to prevent accessing a hidden field using the Quick Edit

I have a field named "Item number" inside my Issue tracking list, which is a system generated ID, and i do not want end users to be able to modify it . now i have set this column as "Hidden" inside ...
0
votes
0answers
131 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
0
votes
1answer
335 views

How to force the Issue ID inside Issue tracking list to have certain format

I want to create a new issue tracking list inside my team site. currently the issue will get a unique ID such as 1, 2, 3. but i need the ID to have a per-defined format. i am trying to achieve the ...
0
votes
2answers
324 views

Display Custom Fields in a SharePoint 2010 Content Query Web Part

Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a ...
0
votes
1answer
1k views

Send email with sharepoint

I'm trying to send an email using c# sharepoint library. Though I'm getting an error that reads... Error in test: Object reference not set to an instance of an object. The code I'm executing is ...
0
votes
2answers
741 views

Retrieve user's tasks from mysites using server object model

I am having trouble aggregating info on all tasks from current user programmatically. This is what I got so far: SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); ...
0
votes
1answer
775 views

Using custom SPRoleType

Environment: SP2010 Enterprise, VS2012, c# Server-Side, full control of environment I'm trying to assign unique permissions to an SPItem (a folder in a document library) through a console app on the ...
0
votes
3answers
218 views

SPFolderCollection valid index arguments

SharePoint 2010, c# server object model, VS2012 Long story short, I'm trying to fetch a folder of a document library, create a new folder in it from an array of names, then fetch the new folder via ...
0
votes
1answer
2k views

How to add “Title field with link to Edit Menu” to a View using code-behind C#?

all I am trying to attempt adding Title with Edit Menu in SharePoint 2013 through code-behind. However, I am unable to do so. Below is my syntax I am using: StringCollection strViewFields = new ...
0
votes
2answers
70 views

How to describe all content from the list in SQL

I must do Data Warehouse from my lists in Sharepoint. I need to connect to the Sharepoint and get all elements from the list and Show them in MS SQL Serwer 2008 R2. I need to show them in another ...
0
votes
2answers
7k views

Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I am really baffled by this issue. I am very new to SP 2010 Development, so Your speak will have to be really dumbed down. But essentially I have this activation method I re-factored - Still ...
0
votes
1answer
1k views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
0
votes
2answers
423 views

Custom action doesn't appear

I have an issue with custom action in SharePoint 2007, basically i have the following custom action declaration: <Elements Id="CF60B88A-783A-44f8-A49D-43659AB51G7E" ...
0
votes
1answer
943 views

How to use your own custom ListItem template for Display, Edit, and New

I would like to use my own custom ListItem template. I also would like to overule the ListFieldIterator method to use some logica to include or exclude some fields dependance on user/usergroups: ...
0
votes
1answer
1k views

How to get count related Lookup value programmatically?

Another day, another question ;) So, I have two custom Lists, "Attendees" and "Events". In the Events-List there's a Lookupfield "Registrations" which I want to fill programmatically on page_load. In ...
0
votes
2answers
502 views

How to get elements from essential List programmatically

I have gotten two lists (like a view) from Microsoft Dynamics CRM. How can I get a elements from these two lists to the C# Sharepoint code in .cs file. The Administrator of CRM told me that this lists ...
0
votes
3answers
3k views

Why are some users appearing as system account?

I have implemented a feature in my solution where by the current user's Name is assigned to a field. With certain users - this appears as 'System Account'. Is it possible that if somebody is the site ...
0
votes
2answers
816 views

How to send dynamic parameters in url of sharepoint modal dialog options

I have the following code for the javascript modal popup. function ShowSearchBox() { var options = { title: "Search Here", width: 760, height: 380, url: ...
0
votes
2answers
2k views

How to add a from lookup field value to the text

I think about how to add a from lookup value to the text ? How can I write it to another colum ? In the same list.
0
votes
1answer
446 views

TimerJob error missing public constructor

I have an issue on my SharePoint 2007 portal, where i created a custom TimerJob, but when I deploy it i get a message: MyTimerJob cannot be deserialized because it does not have a public default ...
0
votes
3answers
781 views

Webpart properties getting empty after IIS Reset

I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
0
votes
2answers
1k views

The type is not registered as safe “Custom Actions”

I am trying to create a custom actions using wsp builder, My folder structure is something like this, Now when I try to deploy solution nothing comes up however I get this error in my ULS log, ...
0
votes
1answer
5k views

Modal pop up in Sharepoint

How to create modal popup in Sharepoint I want to put 3 or 4 times java script promth or alerts in the site. How should I made them ?
0
votes
1answer
226 views

Refresh Site from Adding Item

Hello I tried refresh Site from Adding Item, but if I try too Use SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current); it's giving me a error which in ...
0
votes
2answers
3k views

How to get items id in properties.AfterProperties elements?

I try this in ItemAdding, but it isn't work(Gives Null): public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); if ...
0
votes
1answer
1k views

The file * has been modified by SHAREPOINT\system

In the current scenario I am trying to copy a document set from one library to another, the thing is I cant use DocumentSet.Import because I only need the docset properties and not the contents. The ...
0
votes
1answer
1k views

how to Find Template Name that has been used while creating a new Site Collection

I have like tens of custom Site definitions, so when I try to create a new site collection I select a template name, let say "ABCD 2020 DEVELOPMENT ISSUE SOLVED" and create a new site based on this ...
0
votes
1answer
1k views

close infopath form with managed code [duplicate]

Possible Duplicate: How to close an infopath form in C# style? I am trying to close the browser (aka where infopath form is loaded) with managed code. I tried some for variation below but ...
0
votes
3answers
2k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
0
votes
1answer
404 views

Inherited Page Viewer Control - allowTransparency on iframe

I created a custom control that inherits from PageViewerWebPart. Now I need to toggle the allowTransparency attribute to = "true" on the rendered iframe to enable background transparency for the page ...
0
votes
1answer
849 views

SPWeb.GetFile for an old version of file

I have a document library with enabled versioning, I added an xml file, then added it again, but I have edited one value in it. Now I would like to get the content of both files in C# to compare them. ...
0
votes
3answers
135 views

Proper hardware for productive development?

What hardware do I need for building an efficient local SP development environment? Requirements CPU: How many cores? Xeon vs i5/i7? HD: What SSD would you recommend? Should they be RAID0? RAM: I ...
0
votes
1answer
2k views

How Do I Get the MySite Images and Full Name of the MySite owner in MOSS 2007 in C#

I am building a simple web part that needs the image that is used from the MySite and the First and Last name of the site owner. I know how to get the current user, I need the name. I am also having ...
0
votes
1answer
215 views

Workflow security exception with custom dll

I have a workflow that uses a custom dll that I built. I have placed the dll into Inetpub website bin folder. custom dll has 2 classes XMLUtilities now refferd to as xml Sharepoint helper now ...
0
votes
1answer
2k views

GridView control - paging with linq. Where is objectDataSource?

I have visual web part with custom logic which retrieves me strongly typed list (not SPList -> .NET list object) which than I bind to gridview which has paging enabled. That works fine. Problem is: ...
0
votes
1answer
2k views

Add users e-mail addresses from multivalue user field to string

I have a list which contains a field users (Multivalues are allowed so it can contain multiple users) I would like to retrieve the email addresses of all users and assign them to a string? Anyone ...
0
votes
1answer
905 views

C# save/submit to sharepoint from infopath [closed]

I have tried this.Submit(), this.Save(), but neither seem to actually work. Is there a simple way of doing this? I have also tried using a submit button and then using custom rules for that, but still ...
0
votes
1answer
3k views

InfoPath close form by code

I'm creating an InfoPath form in InfoPath 2010 Designer, that will be running in InfoPath 2007 and 2010 clients and contains C# code. When the user clicks the submit button I need to execute some C# ...
0
votes
1answer
6k views

SharePoint 2010: Use SP Usercontrols in custom application pages

I would like to use SharePoint User Controls in my custom application pages. In VS2010 I've created a new project and added an application page. I've added the follow Tagprefixes in my customapp.aspx ...
0
votes
1answer
855 views

Dynamic WebPart connections

I'm prototyping the best way to dynamically connect web parts at runtime. Essentailly, the application will allow for several disparate application groups to create web parts that will be consumed ...
0
votes
3answers
4k views

Setting display:none for empty web part zones

Does anyone know the JavaScript for setting display:none on an empty web part zone? I remember seeing it once on a publishing site but now can't find it. This is to avoid the padding and spacing a ...
-1
votes
1answer
49 views

Overides attachment shows current only

This only show the current attachment in the repeater i want it to show old also SPWeb web = SPContext.Current.Web; SPList list = ...