Tag Info

New answers tagged

4

You could use the "PostRender" event to execute your javascript method after the form is completely loaded, something like: (function () { // Initialize the variable that stores the objects. var overrideCtx = {}; overrideCtx.Templates = {}; // Assign a function to handle the // PostRender events overrideCtx.OnPostRender = ...


0

use this javascript to hide it <script type="text/javascript"> var elem = document.getElementById("Ribbon.ListItem.New-LargeLarge"); elem.style.display = "none"; </script>


4

One way at least is to use this CSS: .ms-formtoolbar { display: none; }


0

In SharePoint Designer 2010, turns out you just go to Data View Tools > Web Part > Width, and type in the new width of the form. In the code, it looks like: <WebPartPages:DataFormWebPart runat="server" ...... Width="1000">



Top 50 recent answers are included