tags:

views:

142

answers:

0

Currently I am building a asp:menu control that will have various links to websites and applications for my users. What is available for each user is based on them specifically, so I build the menu using an xml datasource and then populate that xml from my database/stored procedure. I was able to add in this event to get the links to open in a new window.

protected void mnuFooter_MenuItemDataBound(Object sender, MenuEventArgs e)
{
        e.Item.Target = "_blank";

}

However on some of my application links I would like to be able to control the characteristics of the new window (i.e open without scroll bars, and without the toolbars, etc....).

Anyone have any idea how I can accomplish this? I was thinking I could tie in to the click event of each link and set the window.open parameters but have not been able to get this work at all.