Changeset 1165 for FCKeditor.Net/trunk/FCKeditor.cs
- Timestamp:
- 2007-12-01 18:38:36 (9 months ago)
- Files:
-
- 1 modified
-
FCKeditor.Net/trunk/FCKeditor.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Net/trunk/FCKeditor.cs
r1162 r1165 321 321 #region Rendering 322 322 323 public string CreateHtml() 324 { 325 System.IO.StringWriter strWriter = new System.IO.StringWriter() ; 326 System.Web.UI.HtmlTextWriter writer = new HtmlTextWriter( strWriter ); 327 this.Render( writer ); 328 return strWriter.ToString(); 329 } 330 323 331 protected override void Render(HtmlTextWriter writer) 324 332 { … … 332 340 333 341 string sFile = 334 Page.Request.QueryString["fcksource"] == "true" ?342 System.Web.HttpContext.Current.Request.QueryString["fcksource"] == "true" ? 335 343 "fckeditor.original.html" : 336 344 "fckeditor.html" ; … … 379 387 public bool CheckBrowserCompatibility() 380 388 { 381 return IsCompatibleBrowser( Page.Request);389 return IsCompatibleBrowser(); 382 390 } 383 391