Click here to Skip to main content
15,909,205 members

Comments by Member 11810533 (Top 2 by date)

Member 11810533 3-Jul-15 4:40am View    
Thanks for the help, I managed to fix it. It was me passing wrong model to my view, I checking for console log but dont know it it does not register error thats why I was not able to check immediately
Member 11810533 3-Jul-15 3:50am View    
Hi,

I've tried sir but still, it does not display anything except for the blank modal
Kindly see below
<pre lang="Javascript">
$(function () {
$('.edit').click(function () {
$('#dialog').load('@Url.Action("EditEmployeeType",new {id=1})', function () {
$(this).dialog({
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "blind",
duration: 1000
},
width: 600
});

//$.ajax({
// type: 'GET',
// url: '../Employee/EditEmployeeType',
// data: {},
// success: function (response) {
// $('#dialog').html(response);//loads the partial edit view into the dialog div...works fine to here.
// }
//});
});
return false;
});
});
</pre>