Wednesday, 10 March 2010

Open a Page in a new window from code behind in asp.net

Dim strScript As String = ""
Page.RegisterStartupScript("PopUp", strScript)

Here "filePath " can be a page name like "/Application/folder/default.aspx" or "/Application/folder/mypdffile.pdf".

No comments:

Post a Comment