Last active
August 29, 2015 14:24
-
-
Save shou1sannomiya/6059b00b761012f7f48e to your computer and use it in GitHub Desktop.
ロードオンデマンドでの伝票一覧Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Infragistics.Web.Mvc; | |
他割愛 | |
//===================================================================================================== | |
//■ロードオンデマンド方式グリッド Viewを返します | |
//===================================================================================================== | |
//売上伝票 一覧PartialView作成 | |
[Authorize] | |
[ValidateAntiForgeryToken] | |
[AjaxOnly] | |
public ActionResult _sellistOndm(Joken joken) | |
{ | |
if (ModelState.IsValid) | |
{ | |
GridModel gridModel = this.repository.GetGridModel(joken); //GridModelを作成 | |
return PartialView("_sellistOndm", gridModel); //GridModelを使うViewを呼び出す。 | |
} | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment