Hi, I have a grid data source paramter thats coming from the model, when the partialview containting the grid is first rendered the value is passed back correctly but then after that its not being sent back, ive even put a breakpoint on the grid to see what the accountid value was and it was correct, but on Read its being sent as 0 which is default value
@(Html.Kendo().Grid<LiteraSite.Models.AccountCamps>()
.Name("grdAccountCamps")
.Columns(col =>
{
col.Bound(p => p.Selected).HtmlAttributes(new { @style = "padding-left: 5px;" }).ClientTemplate("<input # if(Selected) {# checked='checked' # } # value='selected' type='checkbox' />");
col.Bound(p => p.CampCode).HtmlAttributes(new { @style = "padding-left: 8px;" });
col.Bound(p => p.CampName).Title("Account Users").HtmlAttributes(new { @style = "padding-left: 5px;" });
})
.Navigatable()
.Scrollable(src => src.Height(260))
.DataSource(dataSource => dataSource
.Ajax()
.Model(model => model.Id(p => p.CampID))
.Read(read => read.Action("GetCampsWithSelection", "Administration", new { @clientAccountID = (int) Model.FoundAccount.AccountID })
)
))