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.

learn more… | top users | synonyms

0
votes
3answers
2k views

Force people picker to allow only one user/group

Is it possible to prevent a user from inputting multiple values (users/groups) in the people picker (SharePoint:PeopleEditor)? Thanks
0
votes
1answer
210 views

Can't get DEFAULT Microsoft Template for Association form to work! Reproducible

The default association form template is giving an null reference exception. This is happening with a blank project and on two PCs with Workflow Foundation installed. I've taken a screenshot of every ...
0
votes
1answer
497 views

Automatic path exclusion does not seem to be working

I have a SharePoint 2013 environment running on Windows Server 2012 with two web applications, each on a separate web site. As far I as know, it's current with updates. The server shares the sites ...
1
vote
2answers
165 views

How to Tile Asp repeator control horizontally

I am using asp.net repeator control to get pictures from picture library in sp2010. I am able to display it vertically in one row. I now want to tile pictures as follows: How do i do that. any help ...
2
votes
1answer
118 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
2
votes
1answer
200 views

SharePoint 2010: Integrating ASP.Net

I just had a question about integrating ASP.NET into SharePoint. I don't mean to continue beating the subject since there are a lot of posts/sites talking about it, however I am still unsure about the ...
1
vote
1answer
550 views

Create a Form in Sharepoint Online

I want to make a form in Sharepoint Online without using Infopath. But I am having a hard time finding other option. There are things that I am considering; List - but list columns has no Rich Text ...
1
vote
1answer
342 views

Site Column as lookupfield creates false URL-Strings

I have a created a custom site column, which is a lookup field, on my rootsite. However, I use this colum now on a subsite in another list. The idea is, to have a central list with lets say Divisions, ...
-1
votes
1answer
2k views

How to use SPSecurityTrimmedControl to check if current user has edit rights to current page?

I am making a visual webpart in SP2010, and I want to use this below to only show content if the current user has edit rights to the current page: <SharePoint:SPSecurityTrimmedControl ...
0
votes
0answers
102 views

Using Sharepoint LoginName as parameter in datasource

This question was on StackOverflow, but I thought this would be a better place for it. I am using asp:SqlDataSource to pull data and display this in a repeater control. What I would like to do is ...
1
vote
0answers
88 views

SPgridView filtering Menu issues for Numeric column

I have built a SPgridview with Filtering, Sorting and Paging. In the grid , i have one numeric type column and other are string columns. There is a issue while filtering the numeric type column, the ...
0
votes
0answers
347 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
0
votes
1answer
94 views

How to add workflow tasks to a currently running workflow?

I would like to know how I can add a new workflow task to a currently running workflow. Essentially, my scenario is this: created a custom application page approval form user can add new approvers ...
1
vote
0answers
393 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
1
vote
1answer
688 views

SharePoint 2013 and WebApi

I would like to use ASP.NET WebApi inside a SharePoint 2013 farm solution. I know it is not supported out-of-the-box, but I found SignalR can be run by means of a simple HttpModule, so I was ...
0
votes
1answer
223 views

Can I use Microsoft SharePoint 2013 to be my ASP.NET application portal?

I'm not an expert in SharePoint but what I know that SharePoint 2013 Foundation Edition is free, and I'm developing ASP.NET applcation which will have a portal. I'm wondering Can I user SharePoint ...
0
votes
1answer
613 views

SharePoint 2010, ASP.NET MVC integration

As I previously posted here I have to host an ASP.NET MVC 2 application on a SharePoint 2010 server. The application has to be hosted on the server, not referenced from a SP site. So I've been ...
0
votes
3answers
474 views

Items return null value from query in sharepoint?

I'm using this code to get items from the folder but it return null value in the SPListItemCollection. What's the wrong in my code? siteurl = SPContext.Current.Site.Url; SPWeb web = ...
0
votes
0answers
339 views

ASP.NET MVC - Get current user logged in from sharepoint

I have an MVC web app that is sitting on a server running SharePoint Foundation and users access it via a link in the SharePoint portal. I require the website to log in automatically for the current ...
0
votes
1answer
79 views

When registering an HttpModule for Sharepoint, where should the assembly reside?

Meaning where in the path of the Sharepoint web site/app should the assembly reside? My module is currently not being loaded. Does it have to be in the GAC?
2
votes
1answer
287 views

Updating contents in a custom webpart in a Discussion Board topic page

I have made a custom Visual Webpart. I'm wanting to periodically update a label in the webpart without refreshing the whole page. I've got the label to update, however it is also updating the replies ...
2
votes
1answer
272 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
375 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" ...
3
votes
1answer
974 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
2answers
409 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
77 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
32 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
89 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
84 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
88 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
50 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
49 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 ...
1
vote
1answer
329 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
1answer
195 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
2answers
32 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
573 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
162 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
71 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 ...
1
vote
2answers
387 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
1answer
183 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
159 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
67 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
3answers
4k 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
433 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
533 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
300 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 ...
2
votes
2answers
2k 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
66 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
1k 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 ...
2
votes
3answers
4k 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 ...