2
votes
2answers
510 views

Java script alert box is not getting displayed through code behind file C#

I need to implement a functionality in which first I have to show Java Script from code behind file and then user needs to be redirected to other page. I have used both ...
0
votes
1answer
103 views

Set BooleanField Value

I'm trying to set value for BooleanField on my custom NewForm. If I try to do it from codebehind, visually it doesn't change, but when the item will be saved this field will be empty (neither true nor ...
0
votes
0answers
76 views

ListView exception on custom aspx page

I have a button "Upload file", which allows me to upload files to my custom folder inside some document library. I want to add a listview for that library, to see which files were already uploaded. ...
0
votes
1answer
106 views

Add HTML elements programmatically

I think it is a very simple question, but I'm just stuck on it. I'm developing custom page for my SharePoint 2010 portal, and I need to add a button (or other elements) to my .aspx page: <input ...
1
vote
0answers
23 views

How can I print all the PublishingWebControls:RichHtmlField content inside my EnterpriseWiki.aspx as a pdf file

I am working on an enterprise wiki site collection , and using the SharePoint designer I have manually added a link named “Print to PDF” as follow:- But I am trying to implement the link ...
0
votes
0answers
96 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 ...
1
vote
0answers
68 views

How to access an aspx page located in a different project?

I have a SharePoint solution with an empty SharePoint project and an ASP.NET project. My ASP.NET project has an aspx page I would like to access. How can I access this page from my SharePoint project? ...
1
vote
0answers
349 views

Sharepoint 2010 - item field updating not working on a document library

I have this code here from a webpart that creates a treeview from a document library. For each item in the list it will create two child nodes called "Up" and "Down". When you click up, it should ...