Skip to main content

Posts

SharePoint Online: PowerShell to Change Page Layout

Single part app pages provide the capability to host SharePoint Framework web parts or Teams applications in SharePoint Online with a locked layout.  Pros: Single Part App Pages cannot be edited by end-users using a browser It will take the entire width & Header banner area Cons: Currently supports hosting only a single web part or Microsoft Teams application Developers can change page layout programmatically from normal page layout to a Single Page App Page To deploy the Single Web Part App Page in your tenant follow the next steps: Install PowerShell Gallery Open PowerShell as Administrator & run the following command Update Page Template Change the "About-Us.aspx" to the name of the page you want to update Before After Happy Coding...

Dynamically create Bar Chart using Chart.js in Asp.net

This article explains about Bar Chart. We are going to create a simple Bar Chart using char.js library in jQuery. Bar Chart can be used to show data or compare multiple data sets. Chart.js : A Simple chart library for developers developed by Nick Downie . It uses HTML5 canvas element and supports all the browsers.  Code Snippet Code Behind Finally, we are done with coding. You can bind a real dataset from the code behind and see the output Happy Coding :)

jQuery Dialog for ASP.NET

A jQuery dialog is a lightweight pop-up which can be used in ASP.NET to get the confirmation from the user before doing some task. Here I shall demonstrate how to work with jQuery dialog in ASP.NET. First of all we need to import the jQuery core and UI libraries in the head section of the master page Then add the jQuery dialog to the page Now we will design the popup and the buttons Code behind Happy Coding :)