Hey! I've got a grid that displays expenses created by users. It has many columns, one of them being "Created By"
I'm using Microsoft ASP.Net Users table and this is the code to my grid column:
<GridForeignColumn Field=@nameof(DespesaN.UserId)
TextAlign="TextAlign.Center"
HeaderText="Criado Por"
ForeignKeyValue="UserName"
ForeignDataSource="@allUsers"
Width="150">
</GridForeignColumn>
I'd like to know why the grid doesn't display any info on this column but it does on similar ones. This one for example:
<GridForeignColumn Field=@nameof(DespesaN.TipoDeDespesaId) TextAlign="TextAlign.Center"
HeaderText="Tipo de Despesa"
ForeignKeyValue="TipoDeDespesaDescription"
ForeignDataSource="@tiposDeDespesa" Width="150">
</GridForeignColumn>
If anyone knows why, let me know! Thanks