I need to call --
btn1.Attributes.Add("onclick", "window.open('ViewEmp.aspx', '', 'width=700, height=560, scrollbars=yes,resizable=1,left=10,top=0');return false;");
on btn1_Click event.
< asp:Button ID="btnBklt8" runat="server" Visible="false" Enabled="False" OnClick="btnBklt8_Click" Text="View " CssClass="Button" />
protected void btn1_Click(object sender, System.EventArgs e) { if (Session["empName"] != null) { sEmpName = Session["empName"].ToString(); if (sEmpName != null) { Session["EmpPath"] = xxxx.EmpPath + "\\" + sEmpName; } &
View Complete Post