开发者

Is there any Firefox Addon to find ASP.NET page viewstate size?

Is there any firefox addon which can display my a开发者_StackOverflow社区sp.net page viewstate size.... Any suggestion...


Yes, google shows Firefox Viewstate Size


Perhaps this won't work in your situation but have you tried just enabling tracing on the page in question?

http://msdn.microsoft.com/en-us/library/94c55d08(VS.71).aspx


Alternative to work in any browser is to show view state size on the window.status bar, this saves you having to open refresh any external windows.

For example on my base page I do this:-

protected override void OnPreRender(System.EventArgs e)
{
  #if DEBUG
  ClientScript.RegisterStartupScript(typeof(string), "ViewStateSize", "<script language='javascript'>window.status='ViewState size: ' + document.forms[0].__VIEWSTATE.value.length;</script>" );
  #endif
  base.OnPreRender(e);
}


https://addons.mozilla.org/en-US/firefox/addon/5956

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜