Hi
Does anybody know of an asp.net blog component to plug in to an existing application?
/Flemming Brink Rosenbrandt

Hello,
In some pages of Telerik site we can see large viewstate.
you can simply send viewstate to end of pages for faster download & better indexing in search engines.
My suggestion based on 2 posts from scott
1. Google AdSense and ASP.NET View State
2. Using a Base Class to Fiddle with a Page's Rendered Output
you can use this base class that the ASP.NET pages in your application extend for optimizing output of pages in your site.
using System.IO;
using System.Web.UI;
/// <summary>
/// Summary description for OptimizedBasePage
/// </summary>
public class OptimizedBasePage : Page
{
protected override void Render(HtmlTextWriter writer)
{
StringWriter stringWriter = new StringWriter();
HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
base.Render(htmlWriter);
string html = stringWriter.ToString();
int StartPoint;
int SLength;
//remove some invisible characters to compress output
html = html.Replace("\t", "");// tabs
html = html.Replace(" ", " ");// double spaces
html = html.Replace(" />", "/>");// space before end of tags
StartPoint = html.IndexOf("<input type=\"hidden\" name=\"__VIEWSTATE\"");
if (StartPoint >= 0)
// does __VIEWSTATE exist?
{
SLength = html.IndexOf("/>", StartPoint) + 2 - StartPoint;
string ViewStateInput = html.Substring(StartPoint, SLength);
html = html.Remove(StartPoint, SLength);
int FormEndStart = html.IndexOf("</form>");
html = html.Insert(FormEndStart, ViewStateInput);
}
writer.Write(html);
}
}
Best regards
Mostafa