protected void Page_Load(object sender, System.EventArgs e) { this.fckEditor.BasePath = this.Page.ResolveUrl("~/Support/FCKeditor/"); this._module = base.Module as StaticHtmlModule; if (!this.IsPostBack) { StaticHtmlContent shc = this._module.GetContent(); if (shc != null) { this.fckEditor.Value = shc.Content; } else { this.fckEditor.Value = String.Empty; } } }
protected void Page_Load(object sender, System.EventArgs e) { StaticHtmlModule module = this.Module as StaticHtmlModule; if (module != null && !base.HasCachedOutput) { Literal htmlControl = new Literal(); StaticHtmlContent shc = module.GetContent(); if (shc != null) { htmlControl.Text = shc.Content; } else { htmlControl.Text = String.Empty; } this.plcContent.Controls.Add(htmlControl); } }