>>I feel like an idiot because I'm sure the answer is staring me in the face.
>>
>>I use Response.Redirect() to fire a new page off in the current browser window.
>>How do I fire the new page off in a new browser window?
>>
>>thank you in advanced.
>
>Put target="_blank" in your link tag or form tag.
Giving all the information up front would save some time.
This is not an option. I have a DataList driven menu system. My menu options reside in a SQL Serve table. I have a custom control on each page that queries that mennu table and builds the menu based on the page. When the user selects a menu option, a method is run with the page that needs to be displayed as a parameter.
private void datlstMenuPage_ItemCommand(object source, System.Web.UI.WebConstrols.DataListCommandEventArgs e)
{
string lcCmd = e.CommandArgument.ToString().Trim().ToUpper() ;
if (lcCmd.Substring(0,4)=="HTTP")
{
// calling different web site
Response.Redirect(lcCmd,true)
// Need code here instead of redirect to open new window for the site passed.
}
else
{
// calling page from this site
Response.Redirect(lcCmd,true)
}
}
Fred Lauckner
You know, it works on my computer. I don't know what your problem is.
.Net aint so bad.