Hello dear Radzen team,
I have the same problem in one of my projects, two properties:
Property="Employee.FullName"
Property="Student.FullName"
are showing in the grid easily using expand, while causing the same AmbiguousMatchException
when exporting to Excel.
In my export function I see:
{
Filter = $@"{(string.IsNullOrEmpty(grid0.Query.Filter) ? "true" : grid0.Query.Filter)}",
OrderBy = $"{grid0.Query.OrderBy}",
Expand = "Employee,Student",
Select = string.Join(",", grid0.ColumnsCollection.Where(c => c.GetVisible()).Select(c => c.Property))
}, ....
Where it uses the "Property" name for the export, so here, where should I use "aliases/as" like what is mentioned in the linked answer ?