I tried to popup partial view, but its not working ,this is my link

<a id="id1" href="@Url.Action("index", "versus", new { matchid = c.MatchID })" target="_blank" data-toggle="tooltip" data-placement="top" 
                               title="@homeMLName - @awayMLName">
                                @homeMLName - @awayMLName
                            </a>

And this is my script:

<script>
 $('a#id1').click(function (event) {
    event.preventDefault();
    window.open($(this).attr('href'), '_blank');
});
</script>

It opens a new tab instead of a new window

It opens a new tab instead of a new window

That's a setting that is in the user preferences for Safari, and probably for other browsers as well.

This was my solution:

<a style="cursor:pointer;" data-toggle="tooltip" data-placement="top" title="@homeMLName - @awayMLName"
                                   onclick="window.open('@Url.Action("index", "versus", new { matchid = c.MatchID})','_blank' 'targetWindow', 'menubar=no,scrollbars=yes,resizable=yes, width=600, height=650'); return false;">
                                    @homeMLName - @awayMLName
                                </a>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.