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 a Custom Visual WebPart Property With Default Value in SharePoint 2013 / 2010

In this article, I will explain

How to create a custom Visual WebPart property with default value in SharePoint 2013 / 2010?

Scenario:

In SharePoint 2013, I would like to create a visual web part that shows tasks based on the Project ID as a custom property.

Custom WebPart Property in Visual WebPart in SharePoint 2013

Steps : Continue reading “Create a Custom Visual WebPart Property With Default Value in SharePoint 2013 / 2010”

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”