SharePoint: How to find DispForm.aspx toolbar
I needed list item display view toolbar on one of the custom forms. It wasn’t very easy to find it from many files but I found it at last. Nice to be beginner anyway.
<script>
recycleBinEnabled = <SharePoint:ProjectProperty Property="RecycleBinEnabled" runat="server"/>;
</script>
<wssuc:ToolBar CssClass="ms-toolbar" id="toolBarTbl" runat="server" FocusOnToolbar=true>
<Template_Buttons>
<SharePoint:EnterFolderButton runat="server"/>
<SharePoint:NewItemButton runat="server"/>
<SharePoint:EditItemButton runat="server"/>
<SharePoint:EditSeriesButton runat="server"/>
<SharePoint:DeleteItemButton runat="server"/>
<SharePoint:ClaimReleaseTaskButton runat="server"/>
<SharePoint:ManagePermissionsButton runat="server"/>
<SharePoint:ManageCopiesButton runat="server"/>
<SharePoint:ApprovalButton runat="server"/>
<SharePoint:WorkflowsButton runat="server"/>
<SharePoint:AlertMeButton runat="server"/>
<SharePoint:VersionHistoryButton runat="server"/>
</Template_Buttons>
</wssuc:ToolBar>
So if you need DispForm.aspx toolbar then take this code or open file C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.ascx and search for DisplayFormToolBar.
good article and keep posting thank you