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.
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, ...
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#?
...
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 ...
2
votes
1answer
146 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 ...
1
vote
1answer
51 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 ...
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 ...
1
vote
1answer
157 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
1answer
121 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 ...
1
vote
1answer
71 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 ...
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 ...
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
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
1answer
61 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
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
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
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: ...
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 ...
0
votes
1answer
41 views
How to make faster readable elements from the list?
I have an ASP Calendar, which shows elements from the list. If I try to bind the elements to the list, there are a lot of elements for example 35 429 elements. It takes up to 4 minutes to load this ...
0
votes
1answer
54 views
ASMX WebService and use of List Object
I have developed WCF service in Visual Studio 2010 and following is the code which worked perfectly.
using System;
using System.Collections.Generic;
using System.Linq;
using ...
0
votes
1answer
156 views
Remove value in drop down list after being selected
I would like to ask, how to disable the value in drop down menu after being selected? I mean, let says if when User A select value B in drop down list, B is not available to be selected anymore to any ...
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 ...
1
vote
0answers
56 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
30 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 ...
1
vote
0answers
176 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
0answers
148 views
Custom aspx page with web part
What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
1
vote
0answers
231 views
Dropdown menu with XML data source gives web part error
I am using SharePoint designer to build a page with a data view web part that displays the contents of a 6,000 record XML file that is structured like the example below with each "Details" element ...
1
vote
0answers
100 views
Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring
The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
1
vote
0answers
195 views
Dynamic content based on Eval() returning null
I have an SPGridView with a list as its source. I currently have it sorting first by published date, or if that is null, by modified date. The problem is that on the list view I need to put Posted on ...
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 ...
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 ...
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 ...
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 ...
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
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
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
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 ...
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 ...
0
votes
0answers
110 views
EditForm - custom control and updating field values
I'm using a custom rendering template on a list's EditForm. I created a UserControl with a asp:GridView and I would like to use it to insert mulit lookup field values (the standard multi lookup field ...
0
votes
0answers
121 views
Sharepoint hover dropdown menu on mobile
I have a hovering dropdown menu in Sharepoint 2010 that works fine with a mouse, but what i'am also trying to achieve is getting the menu to not reload the page on a mobile device (since the user has ...
0
votes
0answers
139 views
Custom WebPartZone or Add Widget Area
Complete SP nub here. Running short on time and I have yet to find the answer I need here or on Google.
What I got
A Custom default/master/dashboard/landing/whateveryouwanttocallit page with a ...
0
votes
0answers
81 views
Sharepoint Chart Webpart: Change source with javascript?
I have a Chart webpart which displays some numeric graphs from a list.
Is there a way to programmatically change this data source to another list? The name of that list is stored in a ...
0
votes
0answers
79 views
Disable value in drop down menu (permanently removed)
In my page, there are 3 drop down menu.
Dropdown 1 : for storing car model which retrieved from CarTab in database (SQL)
Dropdown 2 : for storing username
Dropdown 3 : for storing plate num
The ...
0
votes
0answers
49 views
asp send data to table
i wanted to know if there is a code that can send data from a form in asp application page to a list table in SharePoint by using select in form action or button
<form ...
0
votes
0answers
24 views
Link SharePoint and WebCenter through portlet?
I know there is a way to link a document library to Webcenter through something called a portlet. (Example walk through can be found here: ...
0
votes
0answers
169 views
How do I set the value of the WebUrl query parameter of an SPDataSource?
I've put an SharePoint:SPDataSource element on an aspx page, which is going to be linked to an asp:DropDownList, but I can't find a value for the query WebUrl parameter that works. What am I missing? ...
0
votes
0answers
443 views
Ad-rotator Asp.Net Control on my 2010 master page does not work on child pages
I have a Sharepoint 2010 site I'm setting up where I want to have an AdRotator on every page, so I added the control to my master page in Sharepoint designer.
However when I look at my site, all the ...