<script type="text/javascript">
$('#btnpopup2').click(function () {
jQuery.noConflict();
$('#SearchPopupWindow1').load("/Service/ServiceList",
function (response, status, xhr) {
$('#SearchPopupWindow1').dialog('open');
});
});
Asked
Active
Viewed 664 times
-1

Nagaraj S
- 13,316
- 6
- 32
- 53

Jegadeesh Waran
- 65
- 6
1 Answers
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