The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
0
votes
2answers
25 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
21 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
24 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 ...
0
votes
2answers
23 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 ...
2
votes
0answers
24 views
How to download the historical file version content using CSOM
I am trying to download the previous version of a document from _vti_history location of the file using client object model but the OpenBinaryDirect is giving
not found 402 error
for URL.
My ...
0
votes
0answers
12 views
Namespace is not writing correctly to Infopath form repeating section and file is not valid
I have a requirement to dynamically build Infopath forms. The forms are being genearted in a webpart on a sharepoint site. The forms have a repeating section that should multiply when there is more ...
0
votes
1answer
16 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
30 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())
...
0
votes
2answers
26 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
27 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 ...
1
vote
0answers
16 views
CAML Query on a Calculated Lookup Field
I wrote some CAML Queries to modify the View of a List and all is working fine as long as I do not reference a Lookup Field which points to a calculated Field.
I tried different types in the value ...
1
vote
1answer
26 views
How to set and retrieve custom profile properties in sharpeoint 2010 FBA
I have one sharepoint site in which FBA was enabled. I am trying to show all the registerd users in a grid. Along with the username and password i want to show some custom properties like company and ...
0
votes
2answers
12 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
1answer
20 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
0answers
5 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 ...
0
votes
1answer
31 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
15 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
2answers
29 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 ...
2
votes
1answer
42 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 ...
1
vote
1answer
22 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 ...
0
votes
2answers
59 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
28 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
37 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 ...
0
votes
1answer
34 views
String to Decimal Conversion in C# (Sharepoint)
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
...
0
votes
2answers
31 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/
...
1
vote
1answer
47 views
What are the best practices in code structure for huge projects
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
54 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
1answer
35 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
19 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
22 views
Problem with join two lists by linq
I wanna join two list and fill drop down list by specific column but i have error in join query
note:c.user_id is lookup field
my code
lst.DataSource = (from c in dc.Complainant
...
0
votes
0answers
13 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
13 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 ...
-1
votes
0answers
12 views
Rendering bulletidlist or repeater [closed]
I am trying to bulletedlist.rendercontrol But i get runat server form tag is missing i am trying to render it to pdf format, Should i maybe add something to web.config or What could be The problem?
1
vote
0answers
10 views
Apply element manifest without re-activating feature
I have a feature module which consists of an XML file which adds ConsoleNodes to the Site Actions menu. To test it, it seems I must compile the package, deploy it, activate it, etc. Since this is ...
0
votes
0answers
13 views
Passing variables inside a header
This question may sound a little awkward, but it's because I'm not exactly sure how to ask it. If anyone can re-phrase it better please let me know and I'll be happy to do so.
Basically I am trying ...
0
votes
1answer
16 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?
2
votes
3answers
51 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 ...
0
votes
1answer
17 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
1answer
16 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
Advice on starting development for SharePoint in C#
I'm about to start development of client-side application (C# using .NET 4.0) that connects to SharePoint. Mainly to download/upload documents.
I've found out that there are several options:
using ...
0
votes
1answer
41 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
votes
0answers
24 views
The specified view is invalid
I am adding a XSLTViewWebpart programatically to my page, with the following code. The strage thing is that the Extension method is used in many parts of the application and it doesnt fail. However ...
0
votes
1answer
20 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 ...
0
votes
1answer
44 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
24 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
28 views
Delete Item in Document Libarary using Client Object Model?
I have custom Database, this Database having SharePoint Item URL like(http://site.com/Shared Documents/a.pdf), so my challenge to remove this file from sharepoint Library using Client Object Model.
1
vote
1answer
29 views
In a SharePoint List I cannot see items that are in a folder
I have a sharepoint list (Not Library), where I am programatically adding in a folder:
SPList list = web.Lists[ListID];
SPFolder parent = list.RootFolder;
SPFolder child = ...
0
votes
2answers
30 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
0answers
18 views
How to do editing elements and Deleting Elements In Sharepoint List using Grid View?
How Could I do deleting, and Editing Element in Sharepoint List by using Grid View ?
I menage to show all elements on the list, but how Can I do editing and deleting elements?
<div ...
1
vote
1answer
28 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 ...