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.
0
votes
1answer
875 views
How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?
I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
2answers
1k views
Adding row values to a specific column in a datatable?
I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
0
votes
2answers
1k views
Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part
I have a requirement to build a Event web part that shows the 5 most upcoming events and a see all link (that links to the OOTB calendar view). Here is a graphical representation:
How exaclty do I ...
0
votes
1answer
489 views
“LinkTitle” column from event list dose not render when added to a repeater control?
I have the following code to render the event Titles (the LinkTitle Column) in a custom web part:
<asp:Label ID="Title" runat="server" CssClass="titleStyle" ...
0
votes
1answer
424 views
Rendering IMAGES (attached to announcement list) in my custom web part?
Please bear with me as I am brand new to the whole sharepoint world.
I want to be able to display images that have been attached to OOTB announcement list in a custom visual web part I am trying to ...
0
votes
1answer
234 views
How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.
I am creating a visual web part to display the calendar events in the form of an events list with custom css. The web part will be on the home page of my site. Here is what I have right now and it is ...
1
vote
1answer
2k views
CAML Query to filter a list item based on comparing item[“Title”] to ascx label.text control?
"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>'Label1.Text'</Value> </Eq></Where>";
I have not run this and checked yet, simply because I ...
1
vote
1answer
2k views
How to put DateTimeControl ErrorMessage as '*' during required field validation
There is a DateTimeControl on my WebPage which i is a ReqiredField. I have set the properties of the control as follows
<SharePoint:DateTimeControl runat="server" ID="txtDOB" DateOnly="True" ...
0
votes
2answers
1k views
Building ASP.NET forms in SharePoint 2010
We need to create a couple of dozen forms on SharePoint 2010 and would like to use ASP.NET and Visual Studio 2010 for this task. The forms need to have the same look-and-feel. The current forms are in ...
4
votes
6answers
3k views
Refreshing custom developed web part
I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
1
vote
2answers
558 views
Navigate to other page (Office 365)
I want to navigate from one ASP.NET page to another one (each with a visual webpart)
When I click a button on the first page (in my visual webpart of course), I should navigate to the second page.
But ...
2
votes
3answers
1k views
Possible to DataBind to a SPListItem URL?
I have a ListView that I am binding to a SPList. In this list view I would like to have a link to each SPListItem.
Microsoft has conveniently decided that the URL member of an SPListItem should be ...
2
votes
1answer
351 views
How to authenticate a user in SharePoint server side object model?
I am developing an Asp.Net web application that will access data in a list on a SharePoint 2010 server. Can anyone tell me how do I authenticate a user against SharePoint using the server side object ...
4
votes
2answers
2k views
How to use InputFormTextBox in a custom web part ?
I'm currently trying to integrate a rich text editor into my web part.
I've found that I can integrate an InputFormTextBox in my aspx page :
<SharePoint:InputFormTextBox ...
2
votes
1answer
204 views
different homepage for annonymous users
I have a requirement in which home page of my site is personalisable by the end user (I have page where all the webparts are listed with Add/Remove functionality) so that each user can add Or remove a ...
0
votes
2answers
146 views
Host address url not working for SharePoint site?
I have created web application on port 80 in SharePoint with host address like http://subsite.site.com. I checked in IIS server host header was defined in the web site property. When I typed ...
2
votes
2answers
481 views
Page, Dialog and update panel issue
I have page, where user can choose where he wants to copy library element. Since copying can take longer time, I'd like to give some information that actually something is going on. It is also ...
3
votes
3answers
82 views
clone sharepoint enviroments?
We are under process of clone on QA environments to new environments. machines and urls will changes. How we can configure these changes in central admin level in new environment?
Please advice me.
0
votes
1answer
705 views
clscompliance parser error when adding web part in webpartzone zonetemplate
I am adding a web part directly into a zonetemplate in a page layout.
When i insert a custom web part that has a web part property of type uint, i get an YSOD server error:
Parser Error ...
1
vote
1answer
1k views
How to restart IIS on all servers of farm from SharePoint Application Page
SharePoint provides an option in Create New WebApplication page that says Restart IIS Automatically. This restarts IIS on all servers of the farm.
What can I do to trigger this programmatically from ...
0
votes
2answers
298 views
ThmxTheme Error
I wrote a ASP.NET Handler module for sharepoint 2010 web application.
it is running .But I added this code, occured error
Code:
string tema = "/_catalogs/theme/Classic.thmx";
ThmxTheme tm = ...
1
vote
1answer
129 views
Creating an asp.net page that calls on a SharePoint 2010 Service Application
I am trying to create a simple web page with three text boxes. I then pass the three values to a client for a SharePoint service application. However, when it calls on the SharePoint service ...
0
votes
1answer
1k views
Accordion style QuickLaunch in SharePoint 2010
I need help in entering the selectors in Sharepoint 2010 for a biz website in the left menu under the navigation:
Here is my code for QuickLaunchMenu in Sharepoint for my Web part Accordion menu:
...
0
votes
1answer
406 views
Different breadcrumb navigation style on some pages
I am working on a theme for Sharepoint 2010. While working on the header area, I ran into a very annoying problem regarding the breadcrumb navigation: It looks good everywhere, except for sites that ...
0
votes
1answer
385 views
Using the Sharepoint Client Object Model with ASP.NET C# page
So why when I add the line <%@ Import Namespace="Microsoft.Sharepoint" %> does the page error with:
An error occurred during the compilation of the requested file, or one of its ...
0
votes
1answer
256 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 ...
3
votes
2answers
3k views
WCF service in SP2010
I want to use WCF service in SharePoint 2010 but have problem.
First, in mapped Sp2010 folder(ISAPI) I created newfolder/myfile.svc and in that file I put a reference to my DLL:
<%@ServiceHost
...
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
1answer
133 views
Sharepoint 2007 SPDatasource duplicates
I've associated an asp:dropdown with an SPDataSource - What I'm trying to do, is simply display all available categories for a certain custom list -
The issue is that the SPDataSource only shows ...
0
votes
0answers
238 views
getting timeout error when select the 50th page in telerik RadGrid [closed]
I am loading 100000 records in the Radgrid, if i am doing anything (select 50th page in RadGrid Pager Control or Filter something in the RadGrid) in the radgrid it's taking too much of time to load, ...
0
votes
2answers
247 views
How to detect when user goes from one site collection to another in the same web application?
I have a several site collections in the same web application and I need to handle events when user goes from one site collection to another. I need it for specific actions, like setting "lcid" cookie ...
3
votes
2answers
423 views
Custom Delete Page Button
I'm trying to create a custom delete page button for my users on a publishing site that resides on the actual page. At first I thought it would be as simple as just copying the code behind the 'Delete ...
8
votes
3answers
2k views
How to write to ULS Log in SharePoint 2010 from a .NET app?
The Sharepoint Trace Log Sample given at http://msdn.microsoft.com/en-us/library/aa979522.aspx & explained at http://msdn.microsoft.com/en-us/library/aa979595.aspx does not work in in Sharepoint ...
0
votes
2answers
373 views
Navigation, Flyouts menus
Is it possible to customize the SharePoint top navigation with fly-out menus that display sub-sites?
2
votes
3answers
643 views
Update column status based on time
I'm creating a SharePoint 2010 application called HR Learning And Development. Basically it's an application to manage every employee trainings. Much like a college environment. I have a SharePoint ...
0
votes
1answer
285 views
Showing new list element form on button click
does anyone know how to show the new list element form on button click, that I have on my custom aspx page? Like when you have a sharepoint list and you click on "add item" and a new element form ...
0
votes
3answers
2k views
Trying to update a SPItem from an asp.net page and get the error “The security validation for this page is invalid”
I am trying to update an SPItem from inside a asp.net page but I am getting the error
The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try ...
2
votes
1answer
2k views
How do I get my query results to display in my web part?
I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading.
I'm trying to build a web part that runs a simple query against a ...
1
vote
1answer
765 views
Editing content of page having custom master page in office365 sharepoint site
I have signed up for office 365, I'm trying to edit the sharepoint site in browser.
I have created a simple master page and a content page and uploaded to the site.
MasterPage.master
<%@Master ...
0
votes
1answer
709 views
REST Services - List vs Document Library
I developed a custom ASP.NET application where I retrieve/update list and document library items using REST. It works perfectly fine locally but when I deploy it to a web server it doesn't work the ...
1
vote
2answers
282 views
Social rating from grid view
HI ALL !
i want to provide rating of items of a sharepoint 2010 list from a grid view hat is showing all the list items in a grid with branding .
is there any way to add a rating column in a grid ...
0
votes
2answers
2k views
How to read from a list using Silverlight and the SharePoint 2010 Client Object Model?
I am attempting to write a simple Silverlight webpart that reads information from a list and then outputs it to a data grid. I can get all of the lists, their titles and their field titles fine but ...
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 ...
2
votes
3answers
8k views
Opening the sharepoint modal dialog from asp.net code behind? Sharepoint 2010
Is it possible to open the sharepoint 2010 javascript modal dialog from asp.net code behind? I have tried..
System.Web.HttpContext.Current.Response.Write("<script ...
0
votes
1answer
179 views
Developing ASP.Net User Control to be imported to SharePoint MOSS 2007
Apologies if this has been answered, but I could not find a similar question:
I am developing a webpart for MOSS 2007. I am using WSPBuilder to built a visual webpart (ascx) and everything works ...
0
votes
1answer
270 views
How can I set up a user selected date filter for a data view web part?
I have a request to set up a user based filter on a list. I know I can set up a data view web part, but I do not know what controls to use to set up the filter. I cannot use the Date Filter Web Part ...
3
votes
2answers
461 views
Sharepoint 2010 MdalDialog title [duplicate]
Possible Duplicate:
Sharepoint 2010 ModalDialog title
Hi,
I am creating a popup window in sharepoint using this code in javascript.
function openAutoResizableDialog(title, url, ...
1
vote
1answer
167 views
Debugger stops during debug session
I have a SharePoint 2010 site deployed using Visual Studio 2010. An application page on the site contains an ascx control that includes a FileUpload control. When I am attached to the W3WP process and ...
0
votes
4answers
280 views
sharepoint web part rendering
I've been pulling my hair out long enough on this one.. would appreciate some help :)
I've created a custom DataFormWebPart which I need to render certain contents to all users of a sharepoint list. ...
0
votes
2answers
725 views
How to design asp.net business app and sharepoint to support Single Sign On?
HI
In our company we have to rewrite most application and also implement a portal. Our approch is to use Sharepoint Server 2010 and asp.net 4.0 for our business applications.
Our main concern is to ...