Create a Custom Action for a specific list via Visual Studio 2013 in SharePoint 2013

In this article, I will demonstrate How to Create a Custom Action for only one List via Visual Studio 2013 in SharePoint 2013.

Scenario,

I need to add a new Tab to Display Form Ribbon for only one list in SharePoint 2013 to be like this :

Custom Action Tab at display form

Steps : Continue reading “Create a Custom Action for a specific list via Visual Studio 2013 in SharePoint 2013”

Advertisements

Create Custom WebPart Property for SharePoint Visual WebPart

In this hint, I will explain How to create a custom WebPart property within Visual WebPart properties via Visual Studio in SharePoint 2010 /2013.

Scenario:

I have been created a new Visual Web Part “QuickNews” within SharePoint 2013 via Visual Studio Community 2013 to show all related news based on a project ID field as a property in Web Part properties as shown below.

Web Part Settings - custom property

Steps : Continue reading “Create Custom WebPart Property for SharePoint Visual WebPart”

HTTP 403 Forbidden error During using MS Chart Control within SharePoint Visual Web Part

I found out an unexpected behavior during using MS Chart Control within a SharePoint Visual Web Part.where I got 403 forbidden error at the first time I tried to browse the page.

403 forbidden

But when I tried to refresh the page again, the error disappeared !

Cause: Continue reading “HTTP 403 Forbidden error During using MS Chart Control within SharePoint Visual Web Part”

Adjust Currency / Percentage field alignment inside SharePoint list

In SharePoint List, If you created a new column with a currency or a percentage data type, you will note in “Allitems Page” that this column displays with margin-bottom as shown below.

CurrencyFiled

In this hint, I will show How to adjust currency or percentage column to look like as the following image.

Adjust currency

Steps:
Continue reading “Adjust Currency / Percentage field alignment inside SharePoint list”

Add Image URL inside CSS file in SharePoint Visual Web Part

In this hint,I will explain How to Add Image URL placed in SharePoint “Images” Mapped Folder inside CSS file in SharePoint Visual Web Part.

"background-Image:URL(Image placed in Mapped Image folder)"

Steps: Continue reading “Add Image URL inside CSS file in SharePoint Visual Web Part”

Add a scrollbar for ASP.NET AJAX Modal popup extender inside SharePoint Visual WebPart

I am using the ModalPopUpExtender in Visual WebPart, I need to allow vertical scroll therefore, I set the Panel Property  ScrollBars=”Vertical” as shown:

scrollbars

But unfortunately, the scroll still not working !! as shown below:

ScrollIssue

Solution: Continue reading “Add a scrollbar for ASP.NET AJAX Modal popup extender inside SharePoint Visual WebPart”

This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I am working on SharePoint, when I tried to deploy a WSP solution that contains an Event Receiver to a specific SharePoint web application, I got the following error message:

This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

Cause: Continue reading “This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application”