//Script Manager to set the (gridId, height, width, headerHeight, isFooter) ScriptManager.RegisterStartupScript(Page, this.GetType(), "Key", "<script>MakeStaticHeaderORSA('" + Gridview1.ClientID + "', 400, 100, 27, false); </script>", false);
DivHeader.style.width = (parseInt(width) - 1.67) + '%';
DivHR.style.width = (((parseInt(width)) + '%') - (16 +'px'));
.new-width { width: -moz-calc(100% - 16px); width: -webkit-calc(100% - 16px); width: calc(100% - 16px); }
DivHR.className = DivHR.className + " new-width";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)