<%@ Page language="c#" Codebehind="sample03.aspx.cs" AutoEventWireup="false" Inherits="FredCK.FCKeditorV2.Samples.sample03" %>
<%@ Register TagPrefix="uc1" TagName="sample03" Src="sample03.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%--
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 * 		http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: sample03.aspx
 * 	Sample page.
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
--%>
<html>
	<head>
		<title>FCKeditor - Sample</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="robots" content="noindex, nofollow">
		<link href="../sample.css" rel="stylesheet" type="text/css">
		<script type="text/javascript">

function FCKeditor_OnComplete( editorInstance )
{
	window.status = editorInstance.Description ;
}

		</script>
	</head>
	<body>
		<h1>FCKeditor - ASP.Net - Sample 3</h1>
		This sample displays a normal HTML form with an FCKeditor with full features 
		enabled.
		<br>
		The only difference from sample02 is that this page uses a custom control that 
		includes the editor in the back. This is a test page to see if the editor works 
		over a control tree hierarchy.
		<hr>
		<form method="post" runat="server">
			<uc1:sample03 id="MyCustomControl" runat="server"></uc1:sample03>
			<br>
			<input id="btnSubmit" type="submit" value="Submit" runat="server">
		</form>
		<div id="eSubmittedDataBlock" runat="server">
			<hr>
			This is the submitted data:<br>
			<textarea id="txtSubmitted" runat="server" rows="10" cols="60" style="WIDTH: 100%" readonly></textarea>
		</div>
	</body>
</html>
