Uncategorized Print Only A Div Javascript : <%@ page language=vb autoeventwireup=false codefile=printdivcontent.aspx.vb inherits=default2 %>. Before using that function, i tried execcommand(print) but the results weren't good at all.