Custom Master Page Modal Dialog Box not rendering correctly
My modal dialog boxes have gone wonky. For example, when I check in a page, the 'Check In' dialog box has two comments boxes. Sometimes I've spotted the modal dialog boxes appearing too small with...
View ArticleScriptManager.RegisterStartupScript doesn't call my local JavaScript function
At the end of a call back in my SharePoint application that I handled in c# I would like to put up a modal dialog box displaying the result and offering a choice to the user to continue or return to...
View ArticleHow to use Third Party dll in SharePoint Visual Studio 2010 web part ?
Hi, I have added the following code on the Package.template.xml<Assemblies> <Assembly Location="ThirdParty.dll" DeploymentTarget="GlobalAssemblyCache"> <SafeControls>...
View ArticleUpdate choice field programmatically
Hi,How to update a choice field?I have a choice field(dropdown) in my custom list, which has the value as "Start", "In Progress", "End".I would like to update the list items which have the value as "In...
View ArticleSys.UI.DataView in SharePoint
I know Sys.UI.DataView client control can be bind to listdata.svc in SharePoint. What I don't know how this can two way binding control can have inside a select control. Have any idea? Any article is...
View ArticleAdding Approvers in a Sequential Workflow Visual Studio
HiI have a sequential workflow which is associated to a listwhich contains column name Business Process which could be Purchase Order, Sales, Leave Request etcI have another list 'Approvers' which...
View ArticleSharepoint 2010 Workflow error
I have a workflow that runs when a new record is created on list. this error occurred on a specific record. I have tried to trace the workflow error but I haven't found any details about the error.How...
View ArticleCreate a new type of Event Reciever for Document list
Hi AllI have a question in sharepoint 2010I want to create a new event reciever type to a documnet list, something like ItemFileCopy that triggers when a document is copied to a document list when the...
View ArticleCheck and Uncheck the Activities in MySites Programatically
Hi,I want to check/uncheck the Activities under Newsfeedsettings > Activities I am following....for ex: SharingInterest...for this I tried with Activitymanager and some other classes there...
View ArticleCreating an Approval workflow based on the list values using visual studio 2010
Hi I have a list with the company name, business process and workflow initiation.The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be...
View ArticleNavigation between pages
hi i need some guidance on a practical scenario. Scenario:We have a ASPX page named Claims.aspx The Claims.aspx page has two web parts, 1. Search Web Parts, that has various fields (e.g. Date, location...
View Articlehow to get metadata before executing a block of code
I have some code that I am using to create a Document Set when a document is uploaded into a library. The document set is created within the library...I am currently doing this in an event receiver...
View ArticleChange default people picker view from detailed to list
Hi,does someone know how to change the default view of people picker, form detailed to List view ?thx in advance.
View ArticleUsing CurrentPrincipal.IsInRole in SharePonit
First off, this refers to SSRS, but I'm pretty sure the underlying issue is with how my code works on the SharePoint server.I'm using the following code in an SSRS report to check role membership....
View ArticleNot all fields returned with getListItems
I am calling getListItems on a SharePoint list with this query:<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"...
View Articlelength is null or not an object
Hi, I have a SharePoint 2010 Visual Web part, where I am using AjaxControlToolKit (version 3.0.30930.28736) Tab Container. But my Tab Container is inside an update panel. Everything was working fine,...
View ArticleCAML Query not Filtering DateTime
Hi all,I have the following CAML Query to filter by a date, but it is not filtering. Any clues?camlQuery.set_viewXml = "<View><Query><Where><Eq><FieldRef...
View ArticleError when trying to add a custom web part to a page
Hi,I developed a custom visual web part in Vs2012 and I have tested it against Sharepoint 2010 in my test environment. However, when I upload the web part to the solution gallery in prodcution and try...
View ArticleContent Query Webpart ,Title should not be clickable
I want to filter a list using Today's date i tried using content by query webpart but Title is clickable?is it possible to do out of box? or do i need to create xslt,i tried other solution by using...
View ArticleRetrieving SharePoint Comments from a Pages Library
Hi,I wonder if there is anyway to retrieve comments from a SharePoint Pages library. We have comments enabled in our Pages library and need to create a filter that brings results based on the number of...
View Article