简体   繁体   English

RTF文本字段在ASPX页面共享点2010中不可见

[英]Rich Text Field not visible in aspx page sharepoint 2010

I have added a SharePoint:RichTextField in my aspx page main content as follows. 我在我的aspx页面主要内容中添加了一个SharePoint:RichTextField,如下所示。 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. 我正在IE和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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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