I have MVC model Customer and it include IEnumerable Addresses property.I also specify in @Model Customer
Is any way that i can specify .DataSource = "Addresses" or i have to have a method with attribute [GridDataSourceAction]. If so, how can i pass key to that method to pull Customer addresses?
Fixed by .DataSourceUrl(Url.Action("action", "controller",new { id = Model.Id })) Not sure if its correct way