-1
<script type="text/javascript">
    $('#btnpopup2').click(function () {

        jQuery.noConflict();
        $('#SearchPopupWindow1').load("/Service/ServiceList",
                function (response, status, xhr) {
                    $('#SearchPopupWindow1').dialog('open');
               });
   });
Nagaraj S
  • 13,316
  • 6
  • 32
  • 53

1 Answers1

0

You need to open dialog after load complete.

Updated code

$('#btnpopup2').click(function () {

        jQuery.noConflict();
        $('#SearchPopupWindow1').load("/Service/ServiceList").dialog('open');

   });
Bhavin Solanki
  • 4,740
  • 3
  • 26
  • 46
  • what's the purpose of `noConflict()` in this snippet? I think it will be more confusing that useful. – Steve B Jul 20 '15 at 14:18