It's relatively simple to add the rating control on display if you follow these steps:
- Edit the Display Form
- Add the following Register Tag at the last Register Tag at the top:
<%@ Register TagPrefix="SharePointPortalControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> - Add the following control to the layout where you want to place the rating control:<SharePointPortalControls:AverageRatingFieldControl FieldName="AverageRating" ControlMode="Display" runat="server"></SharePointPortalControls:AverageRatingFieldControl>
- Save and open any existing item... :)
- Enjoy, but don't forget to enable the ratings from the list settings before doing these steps.