📜  根据选择 asp.net 核心更改部分视图 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.480000             🧑  作者: Mango

代码示例1
// partial view controller
public IViewResult LoadPartial() {
  return PartialView("_login"); // name of the partial view
}

// view (with jquery)
$("#container").load("LoadPartial");