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

-1
votes
1answer
599 views

How to fix ANONYMOUS LOGON error in Web part SQL Data Connection [closed]

I have the following SqlConnection String: ("Data Source=DataBaseServerName;Initial Catalog="Database Name";Integrated Security=SSPI;Connection Timeout=30"); The database server connects using ...
0
votes
1answer
700 views

SP Online - Code blocks are not allowed in this file

I have built a selection of ASP.net controls on my default.aspx page. I am using the following line of javascript to try and get the value of an ASP control. var imgUrl = ...
1
vote
1answer
239 views

Single Sign on Sharepoint and ASP.net

I have 1.) Sharepoint 2010 web applications with Default windows authentication. 2.) ASP.Net Application with custom authentication against Same AD. Now I have requirement to implement SSO among ...
0
votes
1answer
120 views

Auto-suggest text box from a gridview column

I need an auto-suggest text-box in SharePoint 2010 visual web part which should suggest the values from a column in a grid view. Please let me know if you have any inputs regrading the same.
0
votes
1answer
61 views

Create a Link to a Custom ASP.NET Site in SharePoint 2010

I created a custom ASP.NET site and published it to our SharePoint server. All I want is to have a link available in our SharePoint 2010 intranet site to this ASP.NET site. What is the best way to ...
1
vote
1answer
2k views

How to solve "Type 'System.Web.UI.UpdatePanel' is not defined?

I'm using an update panel on a form to stop the page jumping and flickering when drop down lists etc are selected, I have enclosed the table which holds this inside of an update panel and a content ...
1
vote
2answers
1k views

How to read image file from a URL and save the image in image library in SharePoint 2010

I have a form, and that form has a field for a Picture and a Thumbnail which are currently Single Text fields. What I would like to do is when people input a URL on those fields, I would like to get ...
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
235 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
543 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
178 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
119 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
207 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
680 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
354 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, ...
0
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
105 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
89 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
355 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
100 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
411 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
738 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
669 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
489 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
358 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
312 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
283 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
390 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
1k 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
440 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
78 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
33 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
92 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
90 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
51 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
341 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
231 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
34 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
594 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
166 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
74 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
415 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
186 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
166 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
68 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 ...