Customize HTMLEditor Top Toolbar

When you need to customize the top tollbart of the HTMLEditor in AjaxControlToolkit , by adding and removing some buttons as you need, wrtie a class which extend the Editor and add your needed buttons.

public class CustomEditor : Editor 
protected override void FillTopToolbar()
{
 TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold()); 
} 

and for bottom toolbar override the following method

protected override void FillBottomToolbar()
{

}
Advertisements

Enabling SharePoint 2010 Developer Dashboard

To enable the one of most usdfull feature in SharePoint 2010 which is the Developer Dashboread using the PowerShell, write down the follwoing script.

  • $service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
  • $addsetting =$service.DeveloperDashboardSettings
  • $addsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
  • $addsetting.Update()

you can replace the ‘OnDemand’ with the following options:

  • OnDemand
  • On
  • Off

After that you can see the icon in the corner of the page

SPSolutions Manager

SPSolutions Manager is SharePoint 2010 solution which make the farm solutions ease to upload, add, deploy ,retract , remove and download any solution in your farm.

You don’t need to use power shell to add your solution. Instead you will upload it to the farm using GUI.

Features:

  • Upload your WSPs using the Central Admin instead of using PowerShell

  • View Log history for each Solution

  • Download your solution from SharePoint store

  • Deploy, retract and remove your solutions