using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace FredCK.FCKeditorV2.Samples { public class Sample04 : System.Web.UI.Page { protected System.Web.UI.WebControls.DropDownList cmbSkin; protected FredCK.FCKeditorV2.FCKeditor FCKeditor1; protected System.Web.UI.WebControls.Button BtnSubmit; protected System.Web.UI.WebControls.Label LblPostedData; protected System.Web.UI.HtmlControls.HtmlGenericControl PostedAlertBlock; protected System.Web.UI.HtmlControls.HtmlGenericControl PostedDataBlock; private void Page_Load(object sender, System.EventArgs e) { // Set the base path. This is the URL path for the FCKeditor // installations. By default "/fckeditor/". FCKeditor1.BasePath = this.GetBasePath(); LblPostedData.Text = ""; PostedAlertBlock.Visible = false; PostedDataBlock.Visible = false; if ( Page.IsPostBack ) return; // Set the startup editor value. FCKeditor1.Value = "
This is some sample text. You are using FCKeditor.
"; } #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // InitializeComponent(); base.OnInit(e); } ///
/// FCKeditor1.BasePath = "/fckeditor/" ; // "/fckeditor/" is the default value.
///
///