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
1answer
78 views

textbox visual control how to get text

i have a user control, which has update panel and a button in it, when i click on button a message box appears, in messagebox i have one text box and another button, when i click on another button, ...
0
votes
3answers
164 views

User control propertie get from webpart

I have a webpart that is loading a user control, but I am not able to get the value of a webpart property in the loaded user control. The web part code goes like this: public class CVWebPart: ...
1
vote
1answer
32 views

no getting user control property from webpart

I am using this MSDN tutorial but it is not working, http://msdn.microsoft.com/en-us/library/ff649867.aspx When I try to get a usercontrol value, nothing comes up try { // Loads a user control ...
0
votes
2answers
765 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 ...
2
votes
1answer
1k views

SharePoint 2013 list items paging

I'm trying to make a webpart with list items paging. I followed this link http://www.directsharepoint.com/2011/03/step-by-step-guide-to-implement-paging.html and on SharePoint 2010 server it works ...
0
votes
2answers
1k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
0
votes
2answers
250 views

Custom action with javascript doesn't navigate in DisplayForm

I have a strange issue, basically, I have the following custom action: <CustomAction Id="Navigate.DisplayMenu" Title="Navigate to:" RegistrationType="ContentType" ...
0
votes
2answers
61 views

Custom action with custom code doesn't work properly

I have an action in my document library, but it doesn't work as it supposed. So I have here definition of my custom action: <CustomAction Id="MyProject.Google" Title="Go to google" ...
2
votes
2answers
195 views

How to get all web controls on a sharepoint page

I need to get all web controls on a SharePoint page but not sure, using (SPSite bigSite = new SPSite("http://bigPortal.bbbb.com/bb/bbWeb")) using (SPWeb bigWeb = bigSite.OpenWeb()) ...
1
vote
2answers
1k views

How to implement HTML5 Video in Sharepoint 2010?

Has anyone had any success in building a web-part with HTML5 video and using it in SP 2010? Background: Currently I am using JWPlayer by imbedding an HTML page using a content editor web-part. I ...
2
votes
1answer
321 views

Determine programmatically if you are in MySites

My question is the same as the title: How can I determine programmatically am in MySites?
0
votes
2answers
96 views

How to embed image in SharePoint Workflow Association Form?

I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp). ...
0
votes
2answers
101 views

SharePoint 2013 Development enviroment

Can one develop SharePoint solutions without having installed SharePoint 2013 on local, development machine? There will be one 'test' machine, however it will be placed on other machine, to save ...
1
vote
1answer
2k views

Client Object Model - Select distinct

I am using ClientObjectModel (C#) to retreive data from a custom list, which is structured like this: What i need is some kind of "select distinct" which retreives only the categories, without ...
0
votes
1answer
430 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
957 views

Decompiling a .webpart file?

I know it is possible to decompile SharePoint web parts if you have their .dll or .wsp files (I have successfully done this myself using tools like DotPeek or this method), but what if you are left ...
0
votes
1answer
61 views

WSS 3.0 List - Change default view

Is there a way to change the default view on a WSS 3.0 list (Survey)? I tried web.Lists[].DefaultViewURL = "\List\xxxyyy\custompage.aspx" But DefaultviewURL looks like it is read-only. Any ...
2
votes
1answer
680 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like ...
2
votes
2answers
94 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
1answer
325 views

Custom Field PropertySchema Type=User

I have a custom field in my SP Project. In my .xml file, I have a propertySchema and a user field inside it. Currently the field does not accept multiple users/groups. How can I change that? I ...
1
vote
1answer
24 views

Clone Existing SP2007 Site to New Environment For Testing and Staging

I am currently working on a large SP2007 site for a client. This site was initially built from a VS solution and some of the components of the solution can still be deployed to production if code ...
1
vote
1answer
345 views

Create an item (with Choice/User Fields) using Sharepoint Data Services

I am using Sharepoint 2010 Data Services to create items on a table. My table has a column called Priority which has High, Medium, and Low items in it. When I try to create an item in this table ...
0
votes
2answers
409 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 ...
0
votes
2answers
95 views

Sharepoint Development Process Best Practices

I would like to ask some simple questions regarding the best practices of Sharepoint 2010 development process. 1) I am supposed to maintain and add new sites to an already installed Sharepoint site. ...
4
votes
1answer
4k views

Can the zoom/scale on JS Grid conrol in gantt mode be changed?

I have created a webpart with a JS Grid control with gantt enabled. I want the gantt view to display months instead of weekdays. Anyone have an idea how to do this? Update: The following link is what ...
2
votes
1answer
160 views

Programmatically removing web parts in a sandbox solution? (Sharepoint 2010)

I had a problem with web parts being duplicated whenever their feature was reactivated, so I made a question about that. It was answered (and correctly so, I think) - I have to programmatically ...
0
votes
2answers
174 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/ ...
3
votes
2answers
1k views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
2
votes
3answers
536 views

Item with C# onclick in SP List

I'm currently making some customizations to a Document Library in SharePoint 2013, such as a custom filtering webpart. In this Library, I have two fields that originally were (multi)lookup fields ...
-1
votes
1answer
309 views

String to Decimal Conversion in C# (Sharepoint) [closed]

Converting string to decimal seems to be a familiar question. But in my case the an error is throwing while I tried to convert a string value "10.00000000000" to decimal. I tried following codes ...
3
votes
1answer
276 views

What are the best practices in code structure for huge projects [closed]

Soon, I will start a new sp2013 project and I want to start it fine from the scratch. I just read the Application Lifecycle management chapter from the book Professional Sharepoint 2013 development ...
0
votes
1answer
56 views

Load All Task Items in to Page?

I have Task list in home page containing multiple task items, Is it possible to approve multiple items at once, instead of one at a time (being redirected to the start page after each approval..) ?
0
votes
0answers
135 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
1answer
143 views

How to list all alements by CAML to SPGridView

Is it possible to display the listitems retrieved from a CAML query in a SPGridView? How can I implement it?
0
votes
1answer
28 views

Package not deploying everything in it to server

I have a package solution as, <Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="id" SharePointProductVersion="14.0"> <Assemblies> <Assembly ...
1
vote
2answers
67 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
747 views

Value does not fall within the expected range

SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); query.Lists = "<Lists>" + "<List ID=\"" + ...
5
votes
6answers
9k views

How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?

I've this WCF web service hosted inside a Sharepoint 2010 web application. This service is created using the following factory: ...
2
votes
1answer
6k views

How to set a lookup field by c# code

I have a list in SharePoint and it contains a lookup field. Now I want to insert an item to this list, but don't know how to work with the lookup field. I tried the following code but no item is ...
11
votes
2answers
1k views

“Best Practices” for SharePoint customizations/development to easily migrate to new SharePoint versions

Do you know of any documents that describe “best practices” for SharePoint customizations (especially custom developments) in order for these customizations/code (for example web parts, event ...
0
votes
1answer
101 views

Custom form with link to document

I have a custom form. In it I need to add a link to a document library. I need that this links works in the same way as a link in a document library (i.e. - when you click on it you have the option to ...
1
vote
1answer
190 views

Cannot complete this action creating view programatically

I am trying to create a view programatically to be used in an XSLTViewWebPart. When I try to browse to the view I got this exception: Cannot complete this action. Please try again. I set the log to ...
0
votes
1answer
242 views

Programmatically adding a sequence number to the 'Title' column during item creation in SP List

As per the title above, I have a list that stores IT support requests. I need a sequence number that matches with the item ID and I want to add this sequence number to the Title of the request. I ...
1
vote
1answer
118 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 ...
2
votes
2answers
2k views

Programmatically create a site collection in an existing, mounted content database

I'd like to create a site collection from a custom application page in central admin. The administrator needs the option to specify an existing, mounted content database to store the new site ...
0
votes
1answer
45 views

I set up in Sharepoint Create Elements, and edit elements only created by user

http://screencloud.net/v/2xVc But when manager Is created a element it's generate me error. How do If on development If i Can delete element? Please help. I have got this sort of code: for ...
0
votes
1answer
96 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, ...
0
votes
1answer
385 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
2k 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
1answer
141 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 ...