sharepoint

SPGridView current item in Sharepoint

Hi, I'm making a custom webpart. I takes some items from a list and display them with a SPGridView. I bound the fields like this: // Grab data from a SP List into dvwTickets SPGridView grdMyTickets = new SPGridView(); grdMyTickets.DataSource = dvwTickets; [..] BoundField colTicketTypology = new BoundField(); colTicketTypology.DataFiel...

SharePoint 2010 - Access denied during ApplyWebConfigModifications()

I have SharePoint 2010 installed on a Windows Server 2008 R2 machine which is also hosting SQL Sever 2008 R2. I am attempting to deploy a solution that includes web parts in the 2010 environment that is working fine in MOSS 2007. The Web Part feature has a feature receiver that updates the web.config. When I try to activate the featur...

how do I validate form fields in sharepoint list?

I want to validate the fields of the list item while adding/editing and stop the saving operation and provide the error information what the user made on that page itself. For ex, if I want to prevent user not to leave few fields set before saving based on particular status of another field, I cannot make the field as mandatory. ...

UpdatePanel in SharePoint throws an error.

I get the following when I click on a custom made webpart in the Web Part Gallery: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. If I use the webpart, ie perform a search, I get a pop-up error: Sys.WebForms.PageRequestManagerServerErrorException: A...

Sharepoint 'People and groups' - Active Directory Groups Synchronization

Our environment is as follows - -Windows Active Directory 2003 -Windows Server 2003 R2 Standard -MOSS 2007 Our problem is simple - I cannot seem to figure out how to import AD groups into the profiles DB. The user profiles have a timer job setup to do full and incremental imports and they are both working fine. We have ~15 active d...

Is there any better approach then using Ajax Update panel in SharePoint WebParts ?

we are using Ajax Update Panel in SharePoint web part to avoid postback, Certainly it is the easiest approach out there to provide ajax functionality.But at times it feels like the performance is horrible!! Are there any better approach where in you get better performance then ajax update panel. thanks. ...

Is it possible to create a list view that includes the hidden "Forms" folder?

Is it possible to create a list view for document libraries that includes the hidden "Forms" folder? I need this view in order to set the content type of uploaded document templates using the Lists web service. This is related to this question: http://stackoverflow.com/questions/1687063/access-list-items-in-hidden-forms-folder-using-lis...

SPFileVersionCollection - why versions are sorted in mixed order?

SPFileVersionCollection and SPListItemVersionCollection versioning seems inconsistent to me. Inconsistency wouldn't be a problem to me, but sort order is. SPListItemVersionCollection I can understand versioning of ListItems as they are stored in descending order: SPContext.Current.ListItem.Versions.Count -> 5 SPContext.Current.ListIte...

Sharepoint Survey: Can I add a comment box to a rating (Likert) question?

I am doing a survey in Sharepoint, using the built in survey tool. I want to add a comment box next to my "ratings" questions. e.g. Q1. Do you like fish? Not at all They're alright I love fish! Comment: How can I do this all within one question? I can obviously add a new text question, but this will become Q2, and I want it to be ...

create an eventreceiver for logging changes made by users in lists

Hi evereybody, i'm working on a sharepoint publishing site and i want to "log" all the changes made by users in a sharepoint list. Some researches on the web guided me to the EventReceiver. But my EventReceiver must be generic and attached to all lists in the site collection. The "log list" has several columns like the name of the list ...

Need help with CAML from JavaScript to retreive all items from a SharePoint Message Board

I am using JavaScript to invoke the GetListItems method of the SP webservice and handing in the following CAML: var CAML = "<Query>" + "<ViewAttributes Scope=\"Recursive\" />" + "<Where>" + "<Or>" + "<Eq>" + "<FieldRef Name=\"ID\"/>" + "<Value Type=\"Counter\">"...

SQL Data consuming - SharePoint 2007 Timer job

Which is the most SQL data consuming SharePoint 2007 timer job except the crawling? ...

How to control order of the tabs in the template selection of SharePoint site creation page?

The New SharePoint Site page has a Template Selection section which can contains multiple tabs. For example, Meetings and Collaboration. These are controlled in webtemp.xml using DisplayCategory. While hiding and unhiding different OOTB templates, I somehow ended up switching the order of the tabs so that Meetings show up first. Can't s...

Created a simple program to search a website but not searching properly in IE after uploading to sharepoint

It works well with firefox but not with internet explorer. It goes to the site but makes me manually search again. ...

Sharepoint 2010 Replacable Parameter not working

I have an aspx page in _layouts that is part of a package. It contains : <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> This should be updated with the current assembly full name when I deploy - but it dont. Anyone got any ideas? ...

Is Sharepoint's read-only mode really read-only?

First off, I'm new to Sharepoint. When I open up a document in read-only mode I can in fact change the document and save it. When I save the file, Is this normal? Do I need to do something to make it so nobody can edit a file in read-only mode? Any help will be appreciated. ...

Programmatically downloading a file from Sharepoint without using Web Services?

I'd like to fetch some files from a SharePoint site, however I do not want to use the web services as a) I want to be compatible with both 2007 and 2010 and b) I'm not sure if Web Services can give me all files on a site. SharePoint Designer can do that, and it seems to use FrontPage Server Extensions using _vti_bin/Author.dll. Also, I ...

How to sell a "Sharepoint Developer"?

I am working in a company with huge DotNet team. We currently have MOSS 2007 license which I assume is a costly one and just one administrator working/maintaining all Sharepoint stuff. I felt that Sharepoint is not being utilized to its potential. Being interested in Sharepoint Development for past 1 year (I am a .NET Developer with 6 y...

Meaning of the workflow Event Log?

What is the meaning of the below sharepoint 2007 log? Log: The previous instance of the timer job 'Config Refresh', id '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}' for service '{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}' is still running, so the current instance will be skipped. Consider increasing the interval between jobs. ...

Information about Sharepoint Server

I want to obtain some work experience information about sharepoint server.Shall I install trail version of Sharepoint on my machine ?If trail version is allowed ,where is the point do i really need to start? ...