简体   繁体   中英

Rich Text Field not visible in aspx page sharepoint 2010

I have added a SharePoint:RichTextField in my aspx page main content as follows. But when I open the page the Rich text box is not visible. I am not sure why this is happening. I am testing it in IE and Chrome.

            <asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
                <asp:Panel ID="panel2" runat="server">
                      <SharePoint:RichTextField ControlMode="Display" HandleTextField="true" Visible="true"  runat="server"   id="RichTextFieldnew"></SharePoint:RichTextField>

               <%--  <uc:RichText runat="server" />--%>
                    </asp:Panel>
            </asp:Content>

尝试使用此代码<SharePoint:InputFormTextBox runat="server" ID="idRichTxtBox" Rows="10" RichText="true" TextMode="MultiLine" RichTextMode="FullHtml" AllowHyperlink="true" ></SharePoint:InputFormTextBox>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM