ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - HTML Editor - Two Editors

This example also demonstrates how to use RequiredFieldValidator with Editor control.

Aa
 
Aa
 
ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" TagPrefix="obout" Namespace="Obout.Ajax.UI.HTMLEditor" %>
<%@ Register Assembly="Obout.Ajax.UI" TagPrefix="obout" Namespace="Obout.Ajax.UI.HTMLEditor.ContextMenu" %>
<obout:PopupHolder runat="server" id="popupHolder" DefaultAddPolicy="Demand" />
<asp:UpdatePanel ID="updatePanel1" runat="server">
<ContentTemplate>
<obout:Editor runat="server" Id="editor1" Height="275px" Width="100%" PopupHolderID="popupHolder" >
<TopToolbar Appearance="Lite" />
<EditPanel ContextMenuID="contextMenu" />
</obout:Editor>
<asp:RequiredFieldValidator ID="rfvEditor1" runat="server"
  ControlToValidate="editor1" InitialValue="" ErrorMessage="Empty" >*</asp:RequiredFieldValidator>
<obout:Editor runat="server" Id="editor2" Height="275px" Width="100%" PopupHolderID="popupHolder" >
<TopToolbar Appearance="Lite" />
<EditPanel ContextMenuID="contextMenu" />
</obout:Editor>
<asp:RequiredFieldValidator ID="rfvEditor2" runat="server"
  ControlToValidate="editor2" InitialValue="" ErrorMessage="Empty" >*</asp:RequiredFieldValidator>
<asp:Button runat="server" Text="Submit content" ID="Submit" />
</ContentTemplate>
</asp:UpdatePanel>
<obout:DefaultContextMenu runat="server" ID="contextMenu" PopupHolderID="popupHolder" />

"These controls are working great for us. And our customer loves them. We are creating new programs all the time. So having great support to us is very important. Thanks for your help."

Jeremy Zimmerman
BAE Systems

Random testimonial   All testimonials