After implementing the following asp.net server code, my page is being redirected without displaying the print window:
ScriptManager.RegisterStartupScript(this, typeof(Page), "printGrid", "javascript:window.print();", true);
Page.Response.Redirect(Page.Request.Url.ToString(), true);