void Button1_Click(object src,EventArgs e){
System.Text.StringBuilder sb=new System.Text.StringBuilder(400);
sb.Append("<script Language=\"Javascript\">");
sb.Append("window.open(\"mypage.aspx\")");
sb.Append("<").Append("/").Append("script>");
if(!Page.IsClientScriptRegistered("myscript"))
Page.RegisterClientScript("myscript",sb.ToString() );
}
This will open the link in a new window!!Hope it helps!Thanks
"Kent Johnson" <08********@telia.com> дÈëÓʼþ
news:i3*******************@newsb.telia.net...
Hi all,
How can I open a second Webform from the first Webform with a
Button_onlick event?
/Kent J.