<script type="text/javascript" language="javascript">
function ShowViewStateSize()
{
var buf = document.getElementById("__VIEWSTATE").value;
alert("View state is " + buf.length + " bytes");
}
</script>
This blog shows that how to get page View State Size.
<script type="text/javascript" language="javascript">
function ShowViewStateSize()
{
var buf = document.getElementById("__VIEWSTATE").value;
alert("View state is " + buf.length + " bytes");
}
</script>
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · Learn .NETCSharp 13 and .NET 9 Scripting Guide (Run .cs Without Projects)Download nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.