Print RDLC Report without Print Preview
Print DIV content without opening new popup window using JavaScript
the button its popup_window for report viewer so can i use same button?
protected void Buttonva0_Click(object sender, EventArgs e)
{
Session["Gender"] = RadioButtonList3.SelectedValue;
//date
Session["emedate"] = TextBox21.Text;
Session["emetoday"] = TextBox22.Text;
//data user
Session["name"] = txtUsername.Text;
Session["filenumber"] = filenumber.Text;
Session["jop"] = joptitel.Text;
Session["markazel3mel"] = markazel3mel.Text;
Session["civilid"] = civilid.Text;
if (Convert.ToInt16(EmergencyMonthPointsTextBox1.Text) > 0)
{
EmergencyMonthPointsTextBox1.Text = (Convert.ToInt16(EmergencyMonthPointsTextBox1.Text) - 1).ToString();
EmergencyTotalPointsTextBox1.Text = (Convert.ToInt16(EmergencyTotalPointsTextBox1.Text) + 1).ToString();
//total
Session["EMEmonth0"] = EmergencyMonthPointsTextBox1.Text;
Session["EMEtotal0"] = EmergencyTotalPointsTextBox1.Text;
}
string url = "/Admin/eme.aspx";
string s = "window.open('" + url + "', 'popup_window', 'width=800,height=950,left=100,top=100,resizable=yes');";
ClientScript.RegisterStartupScript(this.GetType(), "script", s, true);
}
i would like from number (1) print without print preview.