Hi.
I have two grids working as master and detail.
My detail grid is one click behind the master, it means, The details grid is showing the data from the previous clicked row from the master. See the video. Both grids have the same data in the first column (Contract Number)
Can you help me with that?
The details data is pulled from a web service:
public class ContractProductPricesForMemberController : ApiController
{
public static List<sp_GetContractProductPricesForMember_4Tier_Result> ProductPrices = new List<sp_GetContractProductPricesForMember_4Tier_Result>();
public async Task<object> Get(int MemberId, int ContractId, Guid SessionId)
{
ReconnectV2Entities1 dbContext = new ReconnectV2Entities1();
ProductPrices = dbContext.sp_GetContractProductPricesForMember_4Tier(MemberId, ContractId,SessionId).ToList();
var data = ProductPrices.AsQueryable();
var count = data.Count();
return new { Items = data.Skip(0).Take(count), Count = count };
}
}
Attachment:
sendtosync_45734120.rar