Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello. I am using ASP.NET for a website (IE). Part of the website opens in new window(s) in a popup style. Unfortunately, there is the list of Favorites in a side window that always appears in the new window. I am currently using javascript to open the new window. It is below.

C#
function ShowRequestDetail(RequestID)
{
    window.open("RequestListDetailView.aspx?RequestID=" + RequestID, "",
        "Width=725px; Height=600px; resizable=no; scrollbars=1;");
}


I have tried different combinations from different javascript sites but the Favorites section on the left side of the screen is still there. Is there a way to hide this when opening up new windows? Or is it even possible to do?

Thanks....John
Posted
Updated 1-Aug-11 8:34am
v3
Comments
DaveAuld 1-Aug-11 14:34pm    
Edit: code formatting added

1 solution

You could try adding the personalbar feature:
JavaScript
function ShowRequestDetail(RequestID)
{
    window.open("RequestListDetailView.aspx?RequestID=" + RequestID, "",
        "Width=725px;Height=600px;resizable=no;scrollbars=1;personalbar=false");
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900