asp.net mvc - Kendo Grid edit popup complex model submitting -


I'm trying to use a complex model with the Edit Condo Grid Popup. ALResults objects are always zero when submitting properties. It works fine when I am not using cando? There is a problem in submitting the Condo Complex model?

  Public Class Initial Application Level 2 Model {Public Initial Expert Level 2 Model () {alResultsModel = New ALResults (); } Receive the public int initialPllectLevolution 2 ID {Get; Set; } Public string applicantName {get; Set; } Public string contact number {get; Set; } Public String School {get; Set; } [Required (error message = "ref number required.")] Public int? Inquiried Set; } Public ALResults alResultsModel {get; Set; }} Public Class ALResults {Public Interface ID} {get; Set; } Receive the public int initialPllectLevolution 2 ID {Get; Set; } Public string stream {get; Set; } Public string grading {get; Set; } Public string index {no; Set; } Public int? Year {receipt; Set; } Public int? Attempt {receive; Set; } Public double? ZScore {Get; Set; } Receive public string {medium; Set; }} @ModelCMS.Models.Student Inc. Initial application level 2 model & lt; Tr & gt; & Lt; Td> Year: & lt; / Td> & Lt; TD & gt; @ Html.TextBoxFor (o = & gt; o.alResultsModel.Year) & lt; / TD & gt; & Lt; Td> Index number: & lt; / Td> & Lt; TD & gt; @ Html.TextBoxFor (o = & gt; o.alResultsModel.IndexNo) & lt; / TD & gt; & Lt; Td> Medium: & lt; / Td> & Lt; TD & gt; @ Html.TextBoxFor (o = & gt; o.alResultsModel.Medium) & lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> Stream: & lt; / Td> & Lt; TD & gt; @ Html.TextBoxFor (o = & gt; o.alResultsModel.Stream) & lt; / TD & gt; & Lt; Td> Effort: & lt; / Td> & Lt; TD & gt; @ Html.TextBoxFor (o = & gt; o.alResultsModel.Attempt) & lt; / TD & gt; & Lt; Td> Zascore: & lt; / Td> & Lt; TD & gt; @html Textboxfor (o = & gt; ol Results model.jscore) & lt; / Td> & Lt; / TR & gt;  

Enter image details here

Your visual model needs to be completely flat.

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -