select: function (event, ui) {
debugger;
$.ajax({
cache: false,
async: false,
type: "GET",
url: "@(Url.Action("Product", "Parent"))",
dataType: 'json',
data: { "id": ui.item.Id },
success: function (data) {
var item = data[0];
$('#Id').html(item.Id); -----------> this can have a list of items
$("#Number").html(item.Number); -----------> this can have a list of items
$("#Name").html(item.Name); -----------> this can have a list of items
$("#SerialNumbers").html(item.SerialNumbers); -----------> this can have a list of items
action = data.Action;
},
error: function (xhr, thrownError) {
}
});