This is a migrated thread and some comments may be shown as answers.

[Solved] MVC Telerik Grid - Not getting updated model on form submit

0 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shiv
Top achievements
Rank 1
Shiv asked on 25 Oct 2010, 02:59 PM
I am not able to get Colection value on Form Submit, how can we get collection value on form submit.

My "AcuityDependencyDataFormViewModel" class is as below:

public class AcuityDependencyDataFormViewModel
    {
        public AcuityDependencyData AcuityDependencyData { get; set; }
        public IList<AcuityScoreGrid> AcuityScoreGridList { get; set; }
    }

My Controller Action method is below:
public ActionResult Create(FormCollection collection, AcuityDependencyDataFormViewModel viewAcuityDataModel)
    {
            IList<AcuityScoreGrid> acuityScoreGridList = viewAcuityDataModel.AcuityScoreGridList; // giving null value..
    }

Here I am not able to get my collection property of FormViewModel.


Please suggest if I'm missing something.
Tags
Grid
Asked by
Shiv
Top achievements
Rank 1
Share this question
or