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
2answers
307 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 ...
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
292 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
2answers
35 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 ...
0
votes
1answer
177 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
81 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
205 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
177 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
71 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
618 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
511 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
383 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 ...
2
votes
1answer
72 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
2answers
2k views

How can I send data to a modal popup without using a jquery string?

as a bit of background I am new to Sharepoint development, as well as web programming in general. I've done asp.net programming in the past, but not much javascrip/ajax/jquery. From the (tons...) of ...
-1
votes
3answers
38 views

Two DropDownLists in this same site

I have got two DropDownLists. I want when I set in one value it should change in secound DropDownList the vales. Please Help. Always the values should look like updated.
1
vote
0answers
15 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 ...
0
votes
1answer
99 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 ...
1
vote
0answers
86 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
33 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 ...
0
votes
1answer
92 views

Sort alphabetically Users

When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code: SPUserCollection userzyWszyscy2 = witryna.SiteUsers; foreach (SPUser oUserKolejny in ...
2
votes
1answer
2k 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
4answers
2k views

Single Sign On between “SharePoint” and “.Net” site

I have an asp.net site and a SharePoint 2010 site. I need to redirect users from my SharePoint site to the asp.net site without asking them for the password again?
1
vote
3answers
9k 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 ...
0
votes
2answers
646 views

Custom Application Page does not recognize tagPrefix defined in custom web.config

I have a custom application page integrated in Centeral Administration. My application pages are placed in a subfolder in Template\Admin folder. I placed my own web.config in my subfolder and added ...
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
1answer
206 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
49 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 ...
2
votes
0answers
551 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
473 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
2answers
269 views

Email with multiple attachments triggered by a button

I want to create a button that would trigger to send an email with all the documents in a certain document library. I tried creating this on workflows but unfortunately I can't seem to add multiple ...
1
vote
1answer
68 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?
3
votes
4answers
879 views

SharePoint as data store for a MVC application front end

We currently are running moss 2007 for an enterprise internet facing site. The site's main functionality is surfaced using FAST search with MOSS 2007 used for the cms aspects. We find that the ...
0
votes
1answer
595 views

Use a RadioButtonList update list columns?

Does anyone know if it's possible using SPD w/ MOSS2007 to use a RadioButtonList value to update columns in a list using a custom insert list form without binding the asp:RadioButtonList on page load, ...
0
votes
3answers
529 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 ...
1
vote
1answer
270 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
2answers
339 views

PerformancePoint Services 2010 - Reuse dashboards in external standalone ASP.Net application?

I am a newbie to PerformancePoint Services 2010 & Sharepoint 2010. Assuming we have the necessary licenses, we are wondering what is the best option to include the dashboards developed in PPS/SP ...
0
votes
1answer
184 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 ...
2
votes
1answer
485 views

Replace Workflow InfoPath with ASP.NET WebForms

In SharePoint 2010, when using Workflows with Tasks; SharePoint gives you some InfoPath forms to use for Approval, etc. Can I replace these forms with a non InfoPath WebForm/WebPart, whatever... ...
0
votes
3answers
334 views

Tool to get SPList in webpart using tool

I want to get SPList data in webpart just passing name in tool. Anybody have any idea about that?Please Suggest me.
1
vote
2answers
493 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
3answers
2k views

How to do a mail merge from a SP List to a word doc?

Is there a simple way to do this? Basically I would have a list that contains a bunch of customer information and I would like to merge each list item to a specific word doc and insert each document ...
0
votes
1answer
384 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
1answer
463 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
352 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 ...
2
votes
3answers
872 views

Best PDF converter for general formats

In our SharePoint project we are looking for a third party .dll which is able to convert different file formats into PDF as follows. .doc,.docx to PDF .xls,.xlsx to PDF .ppt,.pptx to PDF HTML to PDF ...
1
vote
0answers
178 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 ...
5
votes
2answers
600 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'> ...
0
votes
1answer
264 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
1answer
285 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
1
vote
2answers
207 views

Visual Studio 2008 + MOSS 2007 : Updating ASP.NET 3.5 Web Application to SharePoint

What are the steps to updating ASP.NET 3.5 Web application (compiled using Visual Studio 2008) to SharePoint Server 2007?