load a page with开发者_开发技巧 AJAX in a jQuery UI dialog without iframe
Actually you can get the output of an ASP.NET page via ajax and place it in jQuery UI dialog but I wouldn't consider it loading an ASP.NET page in the scrict sense as no postback/callback would ever work.
First, do your AJAX request to get the page, then put the contents in an element, then instantiate the dialog:
$.get('YourPage.aspx', function(html) {
$('div').html(html).dialog();
});
精彩评论