$("#btnCreate").click(function () {
  $("#modalwindow").html("<iframe width='100%' height='100%' scrolling='no' frameborder='0'' src='@Url.Action("Create")'></iframe>");
  $("#modalwindow").window({ title: '@Resource.Create', width: 700, height: 400, iconCls: 'icon-add' }).window('open');
});
$("#btnEdit").click(function () {
  var row = $('#List').datagrid('getSelected');
  if (row != null) {
    $("#modalwindow").html("<iframe width='100%' height='99%' frameborder='0' src='@Url.Action("Edit")?>);
    $("#modalwindow").window({ title: '@Resource.Edit', width: 700, height: 400, iconCls: 'icon-edit' }).window('open');
  } else { 
    $.messageBox5s('@Resource.Tip', '@Resource.PlaseChooseToOperatingRecords');
  } });

 

相关文章:

  • 2021-06-13
  • 2022-01-09
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2021-12-26
  • 2022-12-23
  • 2021-12-15
  • 2021-09-03
  • 2022-12-23
  • 2021-04-20
相关资源
相似解决方案