Hi Rodney,
In the click event of your menu add the following:
Dim sUrl As String = "MyHelp.aspx"
Dim sFeatures As String = "'height=320;width=160;left=100;top=50'"
Dim sScript As String
sScript &= "<script language=javascript>"
sScript &= "window.open('" & sUrl & "',''," & sFeatures & ");"
sScript &= "</script>"
Response.Write(sScript)
>Hi,
>
>Can I open a new window from the code behind page. I want to display my HTML help in a new window, and I want to launch it from a click event of my ASP.NET menu. I know I can do it in HTML using a button, but I would rather use the existing menu than have to add an HTML button.
>
>Thanks,
>
>Rodney
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi