ASP.NET is an application framework developed by Microsoft. It is built on top of the .NET Common Language Runtime (CLR). SharePoint is built from the ASP.NET framework.
2
votes
1answer
27 views
Listing all the documents in SharePoint server using C#?
I'm new to SharePoint server. I need to get the list of all document stored in SharePoint server, not in particular user site. Is there any way to get all documents list , name or count using C#?
...
2
votes
1answer
35 views
jQuery not loading in sharepoint 2010 asp.net page
I am making an visual webpart in Sharepoint 2010, and I am trying to load my jquery files in the ascx page.
Near the top of the page I have this:
<SharePoint:CssRegistration ID="jquery_css" ...
1
vote
1answer
37 views
Using the razor engine in SharePoint 2013 Visual Web Part
I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0
I'm ...
0
votes
1answer
21 views
cannot open microsoft.office.interop.word document
i am trying to open a word document but i dont work i can only save the document not open what could be the problem?
I get this following Error when trying to Open:
I am running SharePoint do i ...
0
votes
2answers
30 views
Help embedding asp.net page in a Sharepoint Web Part
First off, I do not have access to designer, so I'm attempting this through my SharePoint site's on-page edit tools. I realize that this may not be possible, but I'll ask the question anyway. :)
I ...
1
vote
1answer
17 views
Creating a link in page content?
I have a html custom master page with html links. I am currently using static url's to link to pages and wondered if there is a way I can use a dynamic path in asp or sharepoint language so that when ...
0
votes
2answers
15 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).
...
-2
votes
2answers
44 views
Moving SharePoint portal to ASP.NET web application [closed]
I have a client requirement to move a SharePoint portal with all typical SharePoint features such as CMS, collaboration into an asp.net web application. The decision is already confirmed, so I do not ...
2
votes
2answers
30 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
34 views
SharePoint 2010 - ASP.net List folders from network location
New to SharePoint & ASP is there any way to simply list folders from a given network path and display them in a SharePoint webpage?
Thanks
Niall
0
votes
1answer
22 views
created external site - but I'd like sharepoint to search it?
I've created an external site outside of sharepoint completly. It's just a basic site that allows our users to get to specific sites. I wanted to simply embed this site via a url inside of ...
0
votes
1answer
25 views
Listbox in webpart has no selection
I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
0
votes
0answers
21 views
Workflow For Updating To A List(Sharepoint)
I have created a workflow to add the values from excel sheet in SP list...I want to create a condition such like whenever the excel is modified its values should get reflected in the list.. I Am Using ...
0
votes
0answers
39 views
selecting row that passes data to javascript
I want to validate some data in a SharePoint List. So I've created a button to a pop-up verify.aspx page.
On the verify page I list all the items that match the orginal form (should only return 1 ...
0
votes
1answer
57 views
Custom Event Reciever For Document Library(sharepoint 2010)
I have a month column which is a choice column in my document library in the format specified below.. For eg. Jan 2013 I have the following requirements 1. The month dropdown should always have only ...
0
votes
0answers
106 views
Get unique values from a list column to display in the view
Sharepoint 2010 - I have a country lookup column wherein multiple values can be selected and is linked to another column (Region column) linked to another list. As it is the Region duplicates when ...
0
votes
2answers
24 views
How to round a datatime LocalTime to the onkly datatime. Not to the time with hours
I have got a code:
DateTime dzienStart1;
DateTime dzienStop1;
dzienStart1 = dzienStart.ToLocalTime();
dzienStop1 = DateTime.Now.ToLocalTime().AddMonths(-2).AddDays(-1.0);
Whem I look at a date in ...
1
vote
3answers
168 views
Sharepoint beginner
I'm a Sharepoint beginner, just getting into it. Please suggest me some best way to learn sharepoint and best books available in the market.
We are using SharePoint 2013.
0
votes
1answer
72 views
Unique ID get selected list
How do i do so i can work on multiple lists? This works if i'm working with one list. (SPSiteDataQuery)
SPWeb web = SPContext.Current.Web;
SPList myList = web.Lists["Staff ...
0
votes
1answer
44 views
Time in Sharepoint
We have got two method in Sharepoint to get the time. One is ToUniversalTime() an secound is ToLocalTime() But when we are in server and have got a aplication instaled on server which kind data method ...
0
votes
1answer
38 views
Optional Parameters in C# at Sharepoint
How Could I set optional parameters when programing in sharepoint. Now I'm while debuging getting error:
Feature 'optional parameter' cannot be used because it is not part of the 3.0 C# language ...
0
votes
0answers
70 views
Authenticate Site Minder using httpwebrequest and httpwebresponse
We are trying to authenticate the site Minder by using httpWebRequest and httpWebResponse and read the cookies. But we are unable to get the cookies
string url = "https://xxxx/login.jsp";
...
0
votes
1answer
58 views
Gridview not showing date
I'm working with a gridview, so i can show data from my three lists. I get it to show the title, but the date doesn't appear! Check the if statement.
using (SPSite site = new ...
0
votes
1answer
62 views
Search multiple lists
I want to search through my lists. And show it on a repeater control. On my dropdown i got 3 options, (All, List1 and List2). But my If statement wont work. The else is working fine, but it hangs when ...
0
votes
1answer
38 views
Listinstance url
I'm working to show my attachments in a repeater control. It works ALMOST perfectly. I just want to get the full url to my attachment. Right now i'm getting: ...
0
votes
2answers
628 views
Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies
I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint;
and Microsoft.Office.Server.UserProfiles in it.. i get a run time error
"Could not load file or assembly ...
0
votes
1answer
94 views
Repeater control reverse order
I'm working with a repeater control that displays my list items. Everytime i add an listitem it displays it on my repeater. But i want the repeater to display the latest added item at the top.
Any ...
1
vote
1answer
153 views
Change context using RenderContext for SharePoint control doesn't work after postback
I am trying to create an ASP workflow task form.
It should contain two types of fields:
fields from related item (on which WF was started);
fields from task (such as Due Date).
For that I try ...
0
votes
0answers
61 views
ASP Calendar double click event get the date of clicked day
I haw got the ASP Calendar. I want to choose range from date to date. If i choose "SelectionChanged" i could only set one date. I think meybe I could set a second date which is end of Date Rannge when ...
1
vote
2answers
261 views
How can I send data to a modal popup without using a jquery string?
as a bit of background I am new to Sharepoint development, as well as web programming in general. I've done asp.net programming in the past, but not much javascrip/ajax/jquery. From the (tons...) of ...
2
votes
1answer
39 views
How to Retrieve the Data from an Individual Blog Post
I am trying to brand a blog post according to our standards, and to do that I have simply created a custom visual web part to take the place of the SharePoint default. What I am wondering is how am I ...
0
votes
1answer
153 views
visual basic in sharepoint 2010
I am new to SharePoint.
My head in the office told me that if you want to learn SharePoint, you have to learn ASP.Net first because we need to add webparts to the portal.
I installed visual ...
1
vote
1answer
652 views
The remote server returned an error: (401) Unauthorized sharepoint
Here is my scenario:-
I have my Sharepoint server hosted on Domain A and I have my machine on Domain B.
There is not any trust between Domain A and Domain B.
I am trying to access the Sharepoint ...
-1
votes
3answers
35 views
Two DropDownLists in this same site
I have got two DropDownLists. I want when I set in one value it should change in secound DropDownList the vales. Please Help.
Always the values should look like updated.
1
vote
0answers
11 views
controls to make extendable zone
I'm making a setting page in my sharepoint site and there is a lot of setting zone in this page , so I'm thinking what's the asp or SharePoint control that make each zone appears just by clicking on ...
4
votes
1answer
192 views
How to alter SP2013 workflow task from an ASP task form?
I have created SPD workflow with a custom ASP form. My form opens when clicking on a task link and I can show information about the task. Now I want to alter the task after pressing a button, but ...
0
votes
0answers
57 views
sharepoint 2010 session fixation/session hijaking issue
One of our security consultant has highlighted a possible session fixation issue in our sharepoint 2010 based portal. and advised us to use "a combination of Session.Abandon and a self-implemented ...
1
vote
1answer
155 views
Open in new tab document link item from document library
I have a document link item that points to a URL. This item is inside a document library.
Is there a way to make this item open to a new page?
I opened the aspx file it creates, but I am unsure how ...
1
vote
0answers
54 views
DropDownList change the values in the same times
I have got two DropDownLists, and I want to change if I change in first Drop down list Values then I want to change in secound DropdownList. My first DropDownList has got a code:
SPUserCollection ...
1
vote
0answers
29 views
Problem with finding out loged user
I try to write a procedure, which find out is the user logged or not not loged in the service. I write a code. But it sometimes giving me a true or false if not a person shown. Sometimes it gives me ...
0
votes
1answer
31 views
Sort alphabetically Users
When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code:
SPUserCollection userzyWszyscy2 = witryna.SiteUsers;
foreach (SPUser oUserKolejny in ...
1
vote
1answer
117 views
ASP.Net Label control's Text property not updating text under button click event
I have developed a small application in SharePoint. I am using custom application page and load .ascx Control over that page under Page_Load() method. In .ascx Control, I have created a small form ...
2
votes
1answer
359 views
Populate a Drop Down List with Unique Values from a list
I have got a list with names of workers. How could I populate a DropDownList with unique values (ie: avoid duplicate) from the list? If the list contains duplicate values I need to avoid inserting the ...
0
votes
1answer
50 views
sharepoint 2007 print
We have application pages in library in Sharepoint 2007. I am solving very strange issue. We are using two css files - Common.css and Print.css.
Print.css is described like this
<link ...
2
votes
1answer
136 views
Uploading '.xlsx' or '.docx' to SharePoint 2007 from ASP.NET app causing file 'corruption'
I have an ASP.NET application wrapped in SharePoint 2007 website. Within this application I allow users to create requests and they can also upload supporting files for the request. When a user ...
0
votes
0answers
41 views
Using Telerik Controls with SharePoint Online and ASP.Net [closed]
I know I can use Telerik's controls in Silverlight webparts hosted in SharePoint Online.
However, we wish to move away from Silverlight and use something with better cross-browser/device ...
0
votes
1answer
1k views
How to run a popup window from code behind in web Part writen in C#
I must run a popup worning when somebady exceeded a something walues. I try a Sharepoint Modal and javascript, but I don't know how to run something from behind code to run javaScript, or Sharepoint ...
1
vote
3answers
4k views
How to add .aspx page in sharepoint 2010 project with visual studio 2012?
I went through following links:
http://www.codeproject.com/Tips/312544/How-To-Add-Custom-ASP-NET-Page-Using-Layouts-Folde
...
1
vote
0answers
174 views
Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?
Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
1
vote
1answer
68 views
How can I publish an ASP.NET web application in my Sharepoint environment?
I'd like to be able to host small custom ASP.NET applications within my Sharepoint environment. For example, I would like to have associates able to access our locations application by pointing to ...