I'm currently trying to get server-side validation on a jquery modal dialog. I am submitting the form with Ajax and when validation fails, I want to to display the dialog and point out the validation errors.

I have most of it working, but there is just 1 issue I'm having.

The form is being submitted and is being received by the controller. It realizes that there are errors on the page and tries to redisplay the view. It cannot redisplay the view because it needs fields that weren't submitted, a table that only displays some data.

My question is, how can I get the view to submit a table that is holding model data.

For clarity, this is what is happening:

1.Modal dialog submit button pressed

2.Submits form data that is editable <---- I want the non editable data to be submitted

3.Controller validates the model

4.Validation fails

5.Controller returns the model to the view

6.View can't display because some of the data is missing

This is the non editable data that I want to be submitted

```
@foreach (var hour in Model.Hours)
{
   <tr>
        <td>@hour.CreatedBy</td>
        <td>@hour.WorkingStart</td>
        <td>@hour.HourComment</td>
        <td>@hour.SecondsUsed</td>
   </tr>
}

```

The model:

```
public TaskEditAVwTask Task { get; set; }
public int numdays { get; set; }
public string firstday { get; set; }
public string lastday { get; set; }
public float taskhoursused { get; set; }

public List<TaskEditAVwHour> Hours { get; set; }

```

The main problem is that the view requires this data to redisplay itself.

I could just fetch the data from the database when validation fails, but I think this should be a last resort.

Sorry if this isn't very clear, I've tried to make it as clear as possible.