Tagged Questions

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
vote
1answer
888 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 ...
2
votes
1answer
1k views

Populate a Drop Down List with Unique Values from a list

I have got a list with names of workers. How could I populate a DropDownList with unique values (ie: avoid duplicate) from the list? If the list contains duplicate values I need to avoid inserting the ...
0
votes
1answer
84 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 ...
3
votes
1answer
392 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
5k views

How to run a popup window from code behind in web Part writen in C#

I must run a popup warning when somebody exceeds some value. I tried a SharePoint Modal Popup using JavaScript, but I don't know how to run something from code behind with JavaScript and a SharePoint ...
1
vote
3answers
8k views

How to add .aspx page in sharepoint 2010 project with visual studio 2012?

I went through following links: http://www.codeproject.com/Tips/312544/How-To-Add-Custom-ASP-NET-Page-Using-Layouts-Folde ...
4
votes
2answers
711 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
1answer
151 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 ...
1
vote
0answers
385 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
2answers
331 views

Sharepoint mechanism to add scripts to aspx page?

(a) Is there a mechanism (by sharepoint) of registering to include a script into the aspx page? (b) If yes, then if I do the following from a user control what would be the result? ...
0
votes
1answer
47 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 ...
1
vote
1answer
378 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
1answer
61 views

Include in SharePoint 2010

I have a custom HTML menu in my MasterPage. I would like to have it in a separate file so it can be easier to update. Is it possible to do an Include?
1
vote
1answer
259 views

Sharepoint 2010 - multiple ip addresses

I have Sharepoint 2010 installed in local network. SPS has local address http://sps2010, and has a public IP (e.g. http://1.2.3.4). When I access SP via a public IP there are some links like ...
0
votes
1answer
116 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
3answers
442 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
0
votes
1answer
277 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
2answers
1k 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 ...
1
vote
0answers
160 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
1answer
277 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
1
vote
2answers
1k 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
2k 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
1answer
215 views

Rendering linkbutton with image

I have an issue when i try to render the linkbutton with image and text it isn't rendered correctly. I render it from a servercontrol in method OnLoad. And I do not understand why, maybe someone knows ...
1
vote
2answers
2k views

Adding the Ajax Control Toolkit to a SharePoint project

I am unable to get the List Search Extender from the Ajax Control Toolkit to work correctly. After inserting my WebPart to the page, I get the error: "Could not load file or assembly ...
1
vote
2answers
379 views

Pushing data from a classic ASP site to SharePoint

We have a publicly facing classic ASP site and I need to capture some data from that site and push it to SharePoint and vice versa. There are a few options as far as I know; Writing a custom web ...
1
vote
1answer
297 views

Use ASP page from web application in SharePoint

I'm trying to use existing aspx page in SharePoint 2010. Page it self depend on some 3rd party classes and I provided source for them and additional assemblies, and project compiles and deploys to ...
5
votes
2answers
503 views

How to specify file name using web services?

I have the following code which creates an item in the library I want: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
1
vote
1answer
345 views

How to specify content type when creating a list item using web services?

This is what I have tried so far: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
1
vote
1answer
453 views

Error with Asp Dropdown List in SharePoint 2010

To start with, I have a template setup that came from Microsoft for Timecard Management. This template basically tracks the project someone is working on and the specific task. On one page, it is ...
6
votes
5answers
1k 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 ...
1
vote
1answer
471 views

ClientContext error while embedding a Silverlight control on ASP page

I build a visual web part in asp.net and I'm trying to embed a xap over it so that users who don't have Silverlight installed would see the asp content: <object id="SilverlightPlugin1" ...
0
votes
1answer
1k views

sharepoint with .Net 4.0

We had an ASP.NET site that was built on .NET 2.0. It had sharepoint integration and everything was working fine until the site got migrated to .NET 4.0. I know that sharepoint is built on 3.5 ...
2
votes
3answers
6k views

SharePoint parent page refresh on close of Modal Dialog, IE issue

I have a Webpage in which two webparts are installed. This is a system wherin user can make holiday request and manager can approve or reject. In 1st webpart The holiday requested by a user is shown ...
0
votes
1answer
345 views

How to get Site Map of ASP.NET page from where I am navigated to current page

I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it. For example: I was here A > B > C > D > E (E has a link to Z) now I am here A ...
1
vote
1answer
120 views

how to find out parent web address from where we navigated in a userControl

I have a Web 1 and Web 2, I also have a link of Web 2 in Web 1 using a link button in a SharePoint Site. Now If I click on Link button situated on Web 1 it takes me to Web 2, I Have a User Control on ...
3
votes
1answer
893 views

jQuery autocomplete dissapears on postback

I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox. Important to know: this textbox is ...
1
vote
1answer
102 views

How to upgrade user controls on Development Server

I just came across User Controls developed by developers who left company now, I tried looking on google on how to upgrade them on development server but couldn't find any blog or post regarding it. ...
0
votes
2answers
774 views

Asp.net Chart control in SharePoint 2010

Can anyone help me to save the chart control temporary image files on SharePoint 2010 document library/picture library. Actually in my standalone environment the webpart is working fine when using ...
3
votes
2answers
718 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...
0
votes
1answer
97 views

Add content to Web Part without reloading

I am developing a Search Web Part for a WSS 3.0 site in Visual Studio 2008. The user types in their search criteria, then clicks OK. In the Click event, I am iterating through every Site Collection in ...
0
votes
1answer
195 views

Authenticate wss 3.0 site programmatically

I have an asp.net app which has a hyperlink to a wss site, both sites are in same machine and same iis. When a user clicks that link he is prompted for windows authentication by iis for accessing the ...
0
votes
1answer
6k views

How to copy a Sharepoint page?

In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control. Having ollowed "Using ASP.NET Validation Controls" of ...
0
votes
1answer
3k views

How do I update a lookup column from a dropdownlist?

I'm creating a custom web part in asp.net for SharePoint 2010 programmatically. When a user presses an Add button, the selected item from the dropdownlist is supposed to then be added to the Groups ...
1
vote
2answers
5k views

How to create custom EditForm and DisplayForm for custom content type?

I have developed a custom ASPX SharePoint application page using Visual Studio. I would like to use that page as the EditForm and DisplayForm for the custom content type. At the moment, my page is ...
1
vote
1answer
644 views

How to integrate custom .ASPX solution in SharePoint list EditForm

I have developed a custom SharePoint solution which is consisted of one ASPX application page. Now, I would like to integrate that functionality in list item edit form. I have decided to create a ...
1
vote
1answer
2k views

Show list form DispForm.aspx “in window” instead of as a dialog box

Does anyone know how to get a list form to display as an aspx page by default instead of as a popup iframe? For example, when a user clicks on a list item, DispForm.aspx opens as part of the same page ...
1
vote
1answer
1k views

Restricting a People Picker to only select people from one Sharepoint group programatically

I've a got a People Picker on a custom list form, and I'm trying to restrict the people you can select in it. Basically, if the form is in one state (set in Page_Load), then restrict the people that ...
0
votes
3answers
1k 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 ...
1
vote
1answer
1k views

Using AjaxControlToolkit in SharePoint: Multiple instances of ScriptManagers?

I'm trying to use AjaxControlToolkit controls (specifically CalendarExtender and ComboBox), but am having problems with the ScriptManager control. I've got the ToolkitScriptManager at the top of the ...
3
votes
3answers
1k views

How to prevent Denial of Service (DoS) attacks in sharepoint

Today i have facing a problem of the Denial of Service (DoS) attacks on my public facing anonymous web site. My server return the error message as "Server is too busy, Try again later". We have ...