sharepoint 列表模板ListForm說明
阿新 • • 發佈:2018-07-18
layout name width mtab sage lstat css 列表 tin
<SharePoint:RenderingTemplate ID="ListForm" runat="server"> <Template> <span id=‘part1‘> <SharePoint:InformationBar runat="server" /> <%--項目內容上部的關閉保存按鈕--%> <%-- <div id="listFormToolBarTop"> <wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbltop" RightButtonSeparator="&#160;" runat="server"> <template_rightbuttons> <SharePoint:NextPageButton runat="server"/> <SharePoint:SaveButton runat="server"/> <SharePoint:GoBackButton runat="server"/> </template_rightbuttons> </wssuc:ToolBar> </div>--%> <SharePoint:FormToolBar runat="server" /> <SharePoint:ItemValidationFailedMessage runat="server" /> <%--表單驗證--%> <%--項目內容部分--%> <table class="ms-formtable" style="margin-top: 8px;" border="0" cellpadding="0" cellspacing="0" width="100%"> <SharePoint:ChangeContentType runat="server" /> <SharePoint:FolderFormFields runat="server" /> <SharePoint:ListFieldIterator runat="server" /> <SharePoint:ApprovalStatus runat="server" /> <SharePoint:FormComponent TemplateName="AttachmentRows" runat="server" /> <%--顯示上傳的附件--%> </table> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="ms-formline"> <img src="/_layouts/images/blank.gif" width=‘1‘ height=‘1‘ alt="" /></td> </tr> </table> <%-- 底部部分--%> <table cellpadding="0" cellspacing="0" width="100%" style="padding-top: 7px"> <tr> <td width="100%"> <SharePoint:ItemHiddenVersion runat="server" /> <SharePoint:ParentInformationField runat="server" /> <SharePoint:InitContentType runat="server" /> <wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbl" RightButtonSeparator="&#160;" runat="server"> <template_buttons> <SharePoint:CreatedModifiedInfo runat="server"/> <%--列表項目的創建修改信息--%> </template_buttons> <template_rightbuttons> <SharePoint:SaveButton runat="server"/> <%--保存按鈕--%> <SharePoint:GoBackButton runat="server"/> <%--關閉按鈕--%> </template_rightbuttons> </wssuc:ToolBar> </td> </tr> </table> </span> <SharePoint:AttachmentUpload runat="server" /> <%--附件上傳--%> </Template> </SharePoint:RenderingTemplate>
sharepoint 列表模板ListForm說明