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
234 views

Why edit option is not working on the SPGridView in SharePoint 2010?

Have created the Webpart based on http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however I want display the results based on the filter value as below it ...
0
votes
1answer
412 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
0
votes
2answers
356 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
468 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
122 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
2answers
69 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
3k 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
737 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
250 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
702 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
869 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
421 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
2k 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
554 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
981 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
220 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
609 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
952 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
190 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
2k 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
942 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
2answers
3k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
0
votes
2answers
2k views

programmatically deploy to site collection level using c#

I would like to use c# to remotely deploy my sharepoint site collections and sites, I can easily write the code to perform most operations. However I can't seem to find a way of deploying the code to ...
0
votes
1answer
827 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
914 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
1k 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
357 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
1k 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
193 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
2answers
9k views

How to get programmatically all Groups from a site collection

I need to know all groups in my site collection... If I use using (SPSite scSite = new SPSite(fullsite)) { using (SPWeb scWeb = scSite.OpenWeb()) ...
0
votes
1answer
2k views

Adding and Removing fields to the user profile

Is it possible to add and remove fields from the user profile? For example I want to add a field for LinkedIn profile and remove the Schools field.
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
1k 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
788 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
2k 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
751 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 ...
-1
votes
1answer
46 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 = ...