Welcome to the ASP.NET MVC feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET MVC, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
1. Run the remote data sample with empty data source.
2. Add new record
3. Set the taskId value in server for newly added record(eg 5000).
public Table Create(Table value)
{
var count = db.Tables.ToList().Count;
value.TaskId = 5000 + count;
db.Tables.Add(value);
db.SaveChanges();
return value;
}
4. Add another record as child of the record added before.
5. The parentId value will be 1 instead of 5000 in this case.