I am displaying modal dialog using ajax, and using paging. I have found that when initial page is loaded then modal dialog gets called which is a partial view with Ajax, but if i click on next page and new DOM elements gets added then sometimes when i click on the Action link only a simple partial view is loaded without AJAX,it is not loaded within modal dialog when i debug it, suppose the id of record i want to view is 11 then through ajax it is 11?==138445555 but when normal partial view is called it is Simply ViewDetail?page=3. I am using the following jquery code to call modal dialog.Please suggest where is the issue. Thanks....I am displaying modal dialog using ajax, and us