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
17 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
15 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 ...
0
votes
0answers
24 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 = ...
0
votes
1answer
46 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
0answers
13 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 ...
1
vote
1answer
55 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
23 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
37 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
0answers
65 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 = ...
0
votes
2answers
53 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
0answers
15 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
32 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 ...
0
votes
0answers
9 views

Sitemappath at SharePoint MasterPage giving Error for & as &

Getting display issues when using asp:SiteMapPath in SharePoint master page, & displaying as & like when I add site title as US & UK. it's displaying like US & UK. I'm using ...
0
votes
0answers
9 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 ...
7
votes
2answers
155 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 ...
3
votes
1answer
72 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 ...
1
vote
0answers
73 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
67 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 ...
0
votes
0answers
21 views

Cannot edit members of a provider - ,MOSS Forms Based Authentication

I have a MOSS web app using both Windows and Forms Authentication. I see that there is a Members group that can be edited for the forms users. It's server 2003, IIS 6, so I go to the properties of ...
0
votes
1answer
25 views

Deploying the custom wepart with wsp extension

I am new to .net and sharepoint world and using sharepoint 2013. My custom webpart is accessing a webservice, which is in the different solution. When I run the webpart in the debug mode in Visual ...
0
votes
0answers
13 views

Session not being preserved in application pages

I have developed two application pages. Page1 stores a string in session and Page2 displays that value. Problem is, on Page2 the line where I am printing session value is giving error: Object ...
1
vote
1answer
52 views

add SPListItem to a SPListItemCollection

I have the following code to load a list from SharePoint site. All is working well except a SPList item to SPListItemCollection. private void Data_load() { DataTable dt = new ...
1
vote
2answers
337 views

HTML in a column value, how to remove it?

I use this code to load data from content list to grid view. private void Data_load() { DataTable dt = new DataTable(); string currentName = ...
2
votes
1answer
51 views

Index out of range for delete in gridview

The following is the code to delete a row from Grid View and update the Content list thereby. But it gives Index out of range exception. protected void GridViewD_RowDeleting(object sender, ...
2
votes
1answer
42 views

InitializeControls() not found in Context

I am having problem that the InitializeControls() is not working protected override void OnInit(EventArgs e) { base.OnInit(e); InitializeControls(); }
1
vote
0answers
89 views

Update SP Item in Parallel.ForEach loop

I'm trying to update columns of a ListItem in sharepoint using the following code: ClientContext context = CreateClientContext(_siteUrl); SP.List list = GetList(listName, context); Uri baseUri = ...
0
votes
0answers
68 views

System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() in SharePoint 2010

I'm getting the exeption in the title on a page that has a long ListView. There are something like 400 rows and for each row there are somethig like 10 controls per row. I found in internet that I ...
1
vote
0answers
25 views

Use images inside SharePoint Online 2013 inside a ASP.NET applicatioin

I have SharePoint Online 2013 website up and running https://testapp.sharepoint.com/ and inside https://testapp.sharepoint.com/sites/ABC I have folder set which contain images. And I have a separate ...
0
votes
1answer
241 views

Using the variable of .aspx code in .js code

I have one variable in .aspx code and i want to use it in my .js code. How to make this work? In .aspx code.. var url = document.referrer; var res = url.split("?"); var str = res[1]; So I want ...
1
vote
1answer
87 views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another ...
0
votes
1answer
44 views

ASP.NET application under SharePoint website

The Default Web Site on my Windows Server 2008 with IIS 7 is running MOSS 2007 (SharePoint). Since I want users to feel like they are still on the portal, I created a similarly branded ASP.NET web ...
0
votes
1answer
64 views

read,add and update sharepoint 2010 list from an asp.net application

I have a sharepoint site which is internal and I would like to build a website that is public to get some data from a list in this sharepoint 2010 instance. The asp.net site would be hosted publicly. ...
1
vote
1answer
91 views

System.FormatException when posting data in custom form: SharePoint 2013

I'm not sure if this question is more SharePoint or more ASP.NET related. In one of my lists I'm using .aspx page to create custom form for edit and create. List schema.xml: ...
0
votes
0answers
24 views

Accessing asp.net application from IIS that has Sharepoint configured

I have a custom asp.net application in IIS and this machine has SharePoint 2010 configured on it as well. For some reasons I can only access the asp.net application from local machine and it couldn't ...
0
votes
1answer
183 views

Best approach to display the grid view in share point

Hi am very new to share point and I'm looking on how to display data to UI from data table. However I used asp.net grid view but I didn't got the look and feel of share point list control. Is there ...
1
vote
2answers
150 views

Set default values in new controls on custom form

My customer has a requirement that they be able to "edit" existing items by creating new ones with those values. I was considering making a rest call based on the ID in the query string and populating ...
0
votes
0answers
95 views

Object reference not set to an instance of an object in upload.aspx file in share point 2013

When I login IE in different user and edit the page and try to upload the file from computer I get below error in share point 2013. I am very new to share point can any one please help how to fix. ...
0
votes
1answer
175 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: ...
0
votes
0answers
46 views

How to use asp tags in Sharepoint 2013 page layout?

In my sharepoint 2010 page layouts, I had asp tags like this <script type="text/javascript" language="javascript"> <% SPWeb web = ...
0
votes
1answer
23 views

Doesn't have master script ASP.NET website on sharepoint

I really don't know how to ask about this, it's not about scripting or troubleshoot in ASP.NET but this question it's very important for me, so I need some suggestion's. I was bought a ASP.NET ...
0
votes
1answer
31 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 ...
3
votes
1answer
92 views

Set ASP DropDownList to SharePoint List Items

This one is probably really simple and I am missing something, I am creating an app dev model for SharePoint online and I currently have a ASP.NET DropDownList that I want to populate with items from ...
0
votes
1answer
44 views

Show Dialog when Input value changes

I am working on a Sharepoint application Page to Uplaod a File to a document libary. The Upload can take a bit of time so I want to display the waiting for it Dialog. I check if all requiered fields ...
0
votes
0answers
31 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField ...
0
votes
0answers
40 views

How to render asp image tags in masterpage/page layout?

In my .html page layout file, I have this code <!--<asp:Image runat="server" imageurl="<% $SPUrl:~sitecollection/Style Library/en-us/help.gif %>" alternatetext="More information" ...
0
votes
0answers
249 views

Calling codebehind method for javascript

i need to popluated a dropdonwlist in my Sharepoint app page. I wote a C# function for that. The Function should be called when a ModalDialog gets closed. In the callback function i change the value ...
2
votes
1answer
71 views

Run Inline ASP code on a Published Master Page

I'd like to use the SPUtility.MakeBrowserCacheSafeLayoutsUrl method in my published master page (used in a publishing site) in order to force SharePoint to stop caching my JavaScript and CSS files. ...
0
votes
0answers
47 views

Office Web Apps customization

I wrote a .Net application with C# code behind, that lists in a gridview all documents stored in a SharePoint 2013 library. When the user selects a document in the gridview, the document is opened ...
0
votes
0answers
15 views

why WebPartMobileContentPanel div inside an enterprise wiki site collection will always be empty

I have the following:- SharePoint server 2013 with Enterprise Client Access License + service pack I created a new site collection of type Enterprise wiki. inside the enterprise wiki site ...
0
votes
1answer
118 views

“ConfigurationErrorsException” when browsing one SharePoint site

I have updated the SSL that I use for Google Authentication within a SharePoint 2013 environment that we have. The SharePoint version is 2013, Enterprise, running the Feb 2015 CU. The internal AD ...