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
1answer
636 views

Asp.net web application into SharePoint app

I'm new to SharePoint development. I've developed an asp.net web application and I want to deploy it to SharePoint 2013. The web application references two libraries, one is custom made and the ...
0
votes
1answer
25 views

Is it possible to invoke SharePoint 2013 APIs without creating a “SharePoint Add-In”

I'm posting this question as a sanity check after a week of research and probably a lot of wrong turns. SCENARIO: My project consists of an MVC app that communicates with a WCF services layer which ...
4
votes
1answer
650 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
11 views

how to get the selected value in drop down in code behind file in a string in asp.net [closed]

I have a DDL which is declared in client side like this <asp:DropDownList ID="ddlServer3" runat="server" style="width:450px" ></asp:DropDownList> On on code behind file like this ...
0
votes
2answers
39 views

How to retrieve visual web part properties programmatically? SharePoint 2013

In my properties I have a properties called Kompania and it is a dropdown properties. How can I retrieve the current properties for Kompania Please help me!
7
votes
5answers
2k views

Pros and cons of code vs. no code in SharePoint development?

Here's my situation: I work in a user area and have been tasked with creating usable SharePoint sites for different areas. Some are doc management, some are collaborative work spaces, some are task ...
0
votes
0answers
8 views

Exporting GridView to Excel Sharepoint 2013 [duplicate]

I have created a GridView which source is a list, then I created a button to export GridView to excel. Code looks like this: HttpContext.Current.Response.Clear(); HttpContext.Current....
1
vote
1answer
12 views

How to deploy ASP.NET grid view solution in SharePoint 2013

I have created a ASP.NET grid view and and have blind the data with sqldatasource. Also I have code behind for update row in the grid view. It is working well in the local machine. How I can implement ...
3
votes
3answers
90 views

get Dropdown selected value Sharepoint 2013

I have a choice column in my sharepoint list called Njësia, I have created a dropdown in my solution and I want to retrieve selected value from dropdown list. I have a label called Label1 and I want ...
0
votes
2answers
36 views

My dropdown won't work after I exported the gridview to excel file?

I have a dropdown called company and a button called export to excel and a gridview, also I have an update panel for both controls but when I export to excel dropdown won't work anymore, even if a ...
1
vote
2answers
36 views

How to query with 3 Conditions? CAML QUERY

I have the first query: queryMuaj.Query = "<OrderBy>" + "<FieldRef Name ='testb' Ascending = 'TRUE'/>" + "</OrderBy>" + ...
0
votes
1answer
754 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 ...
0
votes
1answer
46 views

Sharepoint 2013 - Create custom page with code behind

I have many event receivers and, on error, I want to redirect to a custom page that will manage those errors. I know that I can create a custom page per Event Receiver with the creation of Mapped ...
3
votes
1answer
1k 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
26 views

Show up modal in navbar

I have a navbar where I want to show a modal if I click into one item's Title. So now I show my navbar in JS menupopulator like this: function completeMenu(data, target) { var prefix = "<ul ...
0
votes
1answer
91 views

Alternatives for SharePoint:InputFormTextBox in Google Chrome and Firefox

We use SharePoint:InputFormTextBox in our SP 2010 application. Now the requirement is to make it work in Google Chrome and Firefox also. But from what I read the SharePoint:InputFormTextBox control is ...
1
vote
3answers
4k 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 ...
0
votes
0answers
33 views

Access denied on accessing virtual drive in Sharepoint

I am writing a code to access the virtual drive / network drive from sharepoint. However, if i use same code in a simple asp.net based project then it works smoothly that means my code gets the file ...
0
votes
1answer
25 views

SP07 - Open a pdf file in new tab on IE

I want to open pdf file in new tab and visualize it. This is my code : SPLinkButton linkHelp = new SPLinkButton(); linkHelp.Text = "HELP..."; linkHelp.Target = "_blank"; linkHelp.Click += new ...
0
votes
1answer
39 views

How to host an ASP.Net application in a server where SharePoint 2013 is installed

I have SharePoint 2013 with application url for example: https://intra.abc.org now I have another (CarTracking) ASP.Net MVC application want to host it in this server for example: https://intra....
0
votes
2answers
41 views

SP - How to change ID in URL and Redirect with Button Event

I want to redirect to ID from SPListItem: SPList wayList = web.Lists["WayBIll"]; SPQuery myQuery = new SPQuery(); myQuery.Query = "<Where><Eq><FieldRef Name='ID'/><Value Type='...
0
votes
0answers
30 views

How to integrate SharePoint with existing .NET MVC web site to store digitally signed document?

New users to a .NET MVC web site I support need to sign a user access agreement and upload it to the web site. The current process is cumbersome and verification of user acceptance difficult. I think ...
0
votes
1answer
321 views

Best approach to display the grid view in SharePoint

I am new to SharePoint and I'm looking on how to display data to UI from data table. However I used ASP.NET GridView but I didn't got the look and feel of SharePoint list control. Is there any ...
0
votes
1answer
810 views

Best way to store 900000 records when binding the telerik radgrid with custom paging [duplicate]

Possible Duplicate: Binding 800000 records in Radgrid throwing timeout error I am creating sample application in SharePoint 2010, i want to load 900000 records in Telerik RadGrid, so first i ...
0
votes
1answer
17 views

SP - Get items form certain SPChoiceField

I need to get all items from SPChoiceField and insert in dropDownList ? This is my code to get from everyone ChoiceField, I need to get only from SPChoiceField with name "Company" using (SPSite site ...
1
vote
1answer
412 views

I want to use ASPCOMPAT=true as an attribute of @Page directive

I get the following error on SharePoint pages: aspcompat not allowed on this page when I try to use it. Please help.
0
votes
1answer
26 views

Sharepoint Updating MMS DocumentSet field

I have am writing some SharePoint 2013 integration to my companies product, to upload a document set with metadata and then upload some documents. I have all this functionality working correctly, ...
0
votes
1answer
45 views

Editing Webpart on aspx page with Filter to display nothing initially

I've got a issue that I have been sitting on for about 4 hours now. The page was created by another developer that I have to edit now and cannot seem to figure out. The scenario is as follows. ...
0
votes
1answer
25 views

How to use asp.net controls in .JS file for SharePoint Development

I am working on JS file from SharePoint designer and using HTML controls inside my JS. I am willing to replace HTML Controls with asp.net controls for the user interaction. Can any one help me in ...
0
votes
0answers
17 views

SP - Add multiple items in SPField

I have a table with dynamic row(show/hide). I want to save cell values in same SPList cell. This is my UI: This is my code for first TextBox Cells: using (SPSite site = new SPSite(...
0
votes
0answers
39 views

unable to read the value from web.config keys

In my custom webpart i am trying to read the siteURl key from web.config , however i get the null value even if there is a key in the web.config . i have used : string rootURL = Convert.ToString(...
7
votes
2answers
347 views

What are the Type.registerNamespace advantages over standard JavaScript methods?

Now I dive deeper into the world of .Net developers I notice more and more Microsoft ways of doing things unfamilair to me as a (once LiveScript) JavaScript developer. I see PnP and other blogs using:...
1
vote
0answers
22 views

Wrong resources fetched

I am working on a SharePoint project and we have an Arabic version and an english version. There are two ways of changing languages. Either switch SharePoint platform language, or sending the language ...
2
votes
1answer
180 views

Why am i unable to debug an Provider Hosted SharePoint app?

I have a method which checks valid session which gets triggered in page load,I have placed break points in it for debugging purpose.When I run my provider hosted sharepoint app it does not hit the ...
0
votes
1answer
25 views

update the attachment in the document library programatically

i have A list and B document library . in the A list i have attachment field and once user adds an attachment it should go to the B document library . how can i do that . and i want to do it in my ...
-1
votes
1answer
76 views

Show the images from the shared drive with C# MVC [closed]

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder ...
0
votes
1answer
32 views

Share Point DMS instead of file system

We have an application that is developed using ASP.NET through Visual Studio. In that application we have a file upload control. By using the file upload control, we upload files and save them onto ...
0
votes
0answers
163 views

SCRIPT1004: Expected ';' error in the browser

I am using this script to hide 'Edit' button from SharePoint ribbon on my custom webpart's ascx page and calling it in the page load: function hideEdit() { var edit = document.getElementById("...
0
votes
2answers
72 views

Sharepoint 2013 Branding with Visual studio 2015 [closed]

I'm pretty new to C# and ASP.net and have a project to brand our internal SharePoint site. So I need a source book to learn Visual studio 2015 (C# and ASP.net) Does anyone knows about a book focusing ...
1
vote
1answer
555 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 ...
1
vote
0answers
19 views

Manage SharePoint Permissions with remote ASP.NET Application

We have the following requirment and and I have my doubts if this is possible to implement. Application is a standalone ASP.NET application with it's own SQL Data source Application should manage ...
1
vote
0answers
48 views

How to access subsite's groups with sitecollection context?

I have two sub-sites in my sharepoint site,SampleSite1 and SampleSite2 under Sitecollection called MainSite. http://xyz.sharepoint.com/sites/MainSite/ - SiteUrl http://xyz.sharepoint.com/sites/...
1
vote
2answers
757 views

cannot open microsoft.office.interop.word document

I am trying to open a word document but it doesn't work as i can only save the document, not open it. I'm getting the error below when trying to open a document: Do i need to make any changes to ...
0
votes
0answers
13 views

Sitemappath at SharePoint MasterPage giving Error for & as &amp;

Getting display issues when using asp:SiteMapPath in SharePoint master page, & displaying as &amp; like when I add site title as US & UK. it's displaying like US &amp; UK. I'm using ...
0
votes
0answers
12 views

ASP template not loading in SharePoint 2010, works fine in 365

I have this ASP page for my single page application. It works fine in Office 365 but when I tried it in 2010 recently I got an error related to the public token. I don't have access to the 2010 site ...
3
votes
1answer
76 views

Which is recommended form control to use in SharePoint?

When trying to develop Web Part or Application page or modifying existing SharePoint application pages like (user.aspx, create.aspx, etc..) From below list which control is recommended to use <...
0
votes
1answer
2k views

Filtering an SPDataSource with a dropdown - selected item is lost through postback?

I'm trying to filter the contents of a dropdown based on the selection in another dropdown, using this MSDN blog post and forum post. The filtered dropdown appears with the correct data the first ...
2
votes
2answers
2k views

How do I allow users to change their password (ASP.NET membership)

I've an ASP.Net membership database (extranet) site set up, but users have no way to change their passwords.How can this be accomplished?
1
vote
0answers
137 views

Domain user returns false when I validate user using PrincipalContext ValidateCredentials

I have created a function to check domain user is valid or not and I have deployed this function to service.asmx in _layouts folder public bool CheckUser(string username, string password, string ...
2
votes
1answer
91 views

Lookup column value not updated - ListsWebServices and Asp.NET

I am having trouble inserting new record in "Clients" list on our server, I am in learning phase for working with SharePoint Lists Web Services and I am trying to insert a new item in a list which ...