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.
1
vote
1answer
689 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 ...
0
votes
0answers
17 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
0answers
40 views
ListFieldIterator does not create two column Table
I created a WebPart (SharePoint 2013) with an ListFieldIterator in it to display the Fields like in the NewForm of a specific list. According to all online examples and the default Form when adding an ...
2
votes
3answers
328 views
Profiling tools for Sharepoint 2010 web part .NET code
We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like.
The normal profiling ...
0
votes
1answer
11 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?
13
votes
1answer
1k views
Change Sharepoint language with a link?
Is there a way to get the language-switch control as static link in the pagelayout?
I want my users to switch between German and English with a single click.
Sorry guys, found a solution :D
...
2
votes
1answer
22 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 ...
0
votes
0answers
16 views
XsltListViewWebPart SampleData
I use dynamically added to aspx page XLV webpart. Now, when its not needed, I dont wont to create any database request and just provide XLV with sample data (or prevent it from showing anything). How ...
0
votes
0answers
18 views
Handle AJAX call in SharePoint sandbox
I'm developing a solution for Sharepoint 2010 using ASTreeView. This control handles also AJAX calls for node loading. To load children of a parent, a
<ul><li>...</ul>
needs to ...
1
vote
2answers
328 views
Remove Sharepoint RadioButtonChoiceField Focus on application page
I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
0
votes
2answers
705 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
0answers
7 views
What's the best way to create a replication/load balancing module?
We have a sharepoint doucment library, the site consist media files(like images, word document, .psd file) and then we have a local CME (Alterian) which can be integrated to the SharePoint library in ...
2
votes
1answer
35 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#?
...
0
votes
2answers
1k views
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed
Our Sharepoint portal has been active for some years now but I'm just now getting bug reports about some controls not working. So far all problem reports are from subsidiaries - some here in Germany, ...
2
votes
1answer
51 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
50 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
26 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 ...
4
votes
1answer
306 views
Sharepoint 2007 to 2010 conversion and authentication
I'm consulting on a project that needs help passing authenticated user to other .Net applications on the same domain from Sharepoint to standard .Net & classic asp sites. Currently in SP 2007, ...
0
votes
2answers
33 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
18 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
348 views
How to get FBA users' profile with ASP.NET
I'm getting Windows users' profiles, in my webpart, doing the following:
UserProfileManager pm = new UserProfileManager(SPServiceContext.Current);
SPUser spuser = web.AllUsers.GetByID(user.Id);
...
0
votes
2answers
529 views
issue with forms authentication - Unable to redirect from login page to home page after authentication
In Sharepoint 2010, We created a web application with classic authentication and started developing it. Later, we want to implement forms authentication to our project, so I created a new sharepoint ...
0
votes
2answers
20 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
2answers
557 views
Upload photo to a custom list using visual webpart in sharepoint 2010
I have a list, ListPersonalDetails, for storing personal details of students. It has fields like firstName, lastname, address etc. It also contains a field to store the photo which is of type image. I ...
-2
votes
2answers
47 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
32 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
38 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
4
votes
1answer
196 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 ...
5
votes
9answers
3k views
ASP.Net WebPart or SharePoint WebPart
This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...
0
votes
1answer
23 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
2answers
186 views
Display the data in spgridview with several column in each row
I need to develop a webpart which takes data from list and populate in spgridview.
The webpart should look like in the image atached.
I am able to display the column 1 i.e one image for each row but
...
0
votes
1answer
31 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
22 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 ...
1
vote
1answer
252 views
The attribute 'autoeventwireup' is not allowed in this page in sharepoint
I had two FARMS. QA and PROD. Both are identical. 2 WFE / 2 APPSERVERS / 1 SQL BACKEND.
When (in QA) I browse an .aspx page it returns this error:
The attribute 'autoeventwireup' is not allowed ...
1
vote
1answer
759 views
Working with args option of SP.UI.ModalDialog.commonModalDialog
I have the following situation: In my Sharepoint 2010 ASP.Net Application page app I want to allow my users to select a Supervisor for an employee who's information they (the user) is modifying. For ...
0
votes
0answers
43 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
60 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
118 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
185 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
83 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
42 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
73 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
59 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
64 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
39 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: ...
1
vote
1answer
173 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
1answer
96 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 ...
0
votes
0answers
72 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 ...




