Skip to content
Loading
Json Result with Date Parameters  
  •                   
  •   
  •                 class="form-group">  
  •                     @Html.LabelFor(model => model.PipeID, "Pipe No", htmlAttributes: new { @class = "control-label col-md-2" })  
  •                     class="col-md-10">  
  •                         @Html.DropDownList("PipeID"null, htmlAttributes: new { @class = "form-control" })  
  •                         @Html.ValidationMessageFor(model => model.PipeID, ""new { @class = "text-danger" })  
  •                       
  •                   
  •   
  •                 class="form-group">  
  •                     @Html.LabelFor(model => model.ATTNSYSID, "Operator Name", htmlAttributes: new { @class = "control-label col-md-2" })  
  •                     class="col-md-10">  
  •   
  •                         @Html.DropDownListFor(model => model.ATTNSYSID, new SelectList(""), "--Select Operator--"new { @class = "form-control" })  
  •                           
  •                         @Html.ValidationMessageFor(model => model.ATTNSYSID, ""new { @class = "text-danger" })  
  •                       
  •                   
  •   
  •                 class="form-group">  
  •                     @Html.LabelFor(model => model.Status, "Status", htmlAttributes: new { @class = "control-label col-md-2" })  
  •                     class="col-md-10">  
  •                         @Html.EditorFor(model => model.Status, new { htmlAttributes = new { @class = "form-control" } })  
  •                         @Html.ValidationMessageFor(model => model.Status, ""new { @class = "text-danger" })  
  •                       
  •                   
  •   
  •   
  •                 class="form-group">  
  •                     @Html.LabelFor(model => model.NextStageID, "Next Production Stage", htmlAttributes: new { @class = "control-label col-md-2" })  
  •                     class="col-md-10">  
  •                         @Html.DropDownList("NextStageID", (SelectList)ViewBag.StageID,  htmlAttributes : new { @class = "form-control" } )  
  •                         @Html.ValidationMessageFor(model => model.NextStageID, ""new { @class = "text-danger" })  
  •                       
  •                   
  •                 class="dropdown-menu">  
  •                 class="form-group">  
  •                     class="col-md-offset-2 col-md-10">  
  •                         "submit" value="Create" class="btn btn-default" />  
  •                       
  •                   
  •               
  •         }  
  •   
  •         
      
  •             @Html.ActionLink("Back to List""Index")  
  •           
  •       
  •   
  •   
  • Catcher Wong
    Hi  Raju,
     
    Your code seems good for your  requirement!!
     
    Could you tell us more information you met ? Such as the error messages .