Not really pretty, I know. but the alternative is setting up a function and putting this url info into a global js variable. since this was dmeo code, I've just put here the quickest solution I've found.
--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: Open a ascx control popup window the MVC way?
Feb 02, 2009 02:23 PM|LINK
Here's a quick example:
<input type="button" value="bt" onclick="window.open( '<%= Url.Action( "About", "Home" ) %>' );"
Not really pretty, I know. but the alternative is setting up a function and putting this url info into a global js variable. since this was dmeo code, I've just put here the quickest solution I've found.
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu