ASP.NET with C# and SQL SERVER , some vb.net . asp.net examples, asp.net codes, asp.net programs, c# code, sql server queries, important codes.
Friday, 19 October 2012
open popup from c# in asp.net
open popup from c# coding
These are the list of options we can use to open the new window using Process class.
//-- used to open a blank web browser window
string targetSite = "about:blank";
//-- Open an url in a new web browser window
string targetSite = "http://www.yahoo.com";
//-- Open the ftp site in a new window
string targetSite = "ftp://ftp.mysite.com";
//-- Open the test.html file in a new web browser window
string targetSite = "D:\\test.html";
By using the following line of code we can open the required window programmatically from ASP.NET application .
System.Diagnostics.Process.Start(targetSite);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment