功能可见性超时

时间:2016-02-29 11:18:35

标签: javascript jquery

为什么当我使用RenderModel model超时时会引发错误public class ProductController : RenderMvcController { public ActionResult GetProduct(RenderModel model, int id) { return View("Product", model); } } 。为什么呢?

@{
  Layout = "~/Views/Shared/_MasterLayout.cshtml";
  var productModel = Model.Content.Product;
  var product = productModel as Product; 
}
<pre>
  Product Info
  ---------------

  Id: @product.Id
  Name: @product.Name
</pre>

$('.clockpicker').clockpicker();

0 个答案:

没有答案