For many years I have used the javascript below to popup a sized small browser window. The same links that work in web forms now produce an error when clicked in MVC. I suspect it is related to routing, but don't know for sure. Any help would be appreciated.
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
JoeReynolds
Participant
871 Points
313 Posts
Popup Problem
May 11, 2010 07:28 PM|LINK
For many years I have used the javascript below to popup a sized small browser window. The same links that work in web forms now produce an error when clicked in MVC. I suspect it is related to routing, but don't know for sure. Any help would be appreciated.
<script type="textjavascript"><!--- function MM_openBrWindow(theURL,winName,features) { //v2.0 if (!window.winName) {"); winName = window.open(theURL,winName,features); winName.focus(); } else { if (!winName.closed) { winName.focus(); } else { winName = window.open(theURL,winName,features); } } } //--> </script>imran_ku07
All-Star
45815 Points
7698 Posts
MVP
Re: Popup Problem
May 12, 2010 04:32 AM|LINK
duplicate
http://forums.asp.net/t/1554048.aspx
Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD
JoeReynolds
Participant
871 Points
313 Posts
Re: Popup Problem
May 12, 2010 06:12 PM|LINK
Yes, a dupe. Just goes to show my mind isn't working too well; didn't even remember the previous post.