I\'m trying to use the jquery modal dialog to show a partial view async when clicking on something. Pretty simple, and there are loads of questions on this, but I can\'t seem to
Possible scope issue?
You're effectively declaring two document.ready functions. Just put all of the code inside:
document.ready
$(function () { });