1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %> |
---|
2 | |
---|
3 | <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %> |
---|
4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
6 | <head runat="server"> |
---|
7 | <title></title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <form id="form1" runat="server"> |
---|
11 | <asp:ScriptManager ID="ScriptManager1" runat="server" /> |
---|
12 | |
---|
13 | <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional"> |
---|
14 | <ContentTemplate> |
---|
15 | <CKEditor:CKEditorControl ID="txtTest" runat="server" BasePath="~/ckeditor" Toolbar="Basic" Width="400"></CKEditor:CKEditorControl> |
---|
16 | <asp:Button ID="btnTest" OnClick="btnTest_Click" Text="Push button" runat="server" ValidationGroup="abc" /> |
---|
17 | </ContentTemplate> |
---|
18 | </asp:UpdatePanel> |
---|
19 | </form> |
---|
20 | </body> |
---|
21 | </html> |
---|