行中嵌套html
<f:FormRow>
<Items>
<f:Panel ID="Panel1" Layout="Column" ShowHeader="false" ShowBorder="false" runat="server">
<Items>
<f:Label ID="Label1" Width="100px" runat="server" ShowLabel="false"
Text="内容:" EncodeText="false">
</f:Label>
<f:ContentPanel ID="ContentPanel3" ColumnWidth="100%" runat="server" ShowBorder="false" CssStyle="padding-left:4px; padding-bottom:5px;"
ShowHeader="false">
<textarea name="txtContents" id="txtContents"></textarea>
</f:ContentPanel>
</Items>
</f:Panel>
</Items>
</f:FormRow>
UEditor富文本编辑器无滚动条:不懂为什么。
<f:FormRow>
<Items>
<f:Panel ID="Panel1" Layout="Column" ShowHeader="false" ShowBorder="false" runat="server">
<Items>
<f:Label ID="Label1" Width="100px" runat="server" ShowLabel="false"
Text="内容:" EncodeText="false">
</f:Label>
<f:ContentPanel ID="ContentPanel3" ColumnWidth="100%" runat="server" ShowBorder="false" CssStyle="padding-left:4px; padding-bottom:5px;"
ShowHeader="false" AutoScroll="true">
<textarea name="txtContents" id="txtContents"><%=Contents %></textarea>
</f:ContentPanel>
</Items>
</f:Panel>
</Items>
</f:FormRow>
<script type="text/javascript"> var containerClientID = '<%= Panel1.ClientID %>'; var ue = UE.getEditor('txtContents', { initialFrameWidth: '100%', initialFrameHeight: 500, autoHeightEnabled: true, onready: function () { // 重新布局外部容器 doLayout(); } }); function doLayout() { if (ue && ue.isReady) { // 重新布局外部容器 F(containerClientID).updateLayout(); } } </script>
浙公网安备 33010602011771号