Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. @(Html.Kendo().DropDownListFor(model => model.ProjectId)
  2. .BindTo(ViewData["Id"] as SelectList))
  3.  
  4. @(Html.Kendo().DropDownListFor(model => model.SLAId)
  5. .BindTo(ViewData["SLAId"] as SelectList))
  6.  
  7. ViewData["Id"] = new SelectList(ObjProject.GetAll(), "Id", "ProjectName");
  8. ViewData["SLAId"] = new SelectList(ObjSLA.GetAll(), "SLAId", "PriorityName");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement