Lookup table: show different fields in modal lookup and in the field control

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
Andros
User
Posts: 111

Lookup table: show different fields in modal lookup and in the field control

Post by Andros »

Hi. I have an "orders" table with a CustomerID field which points to a "customers" lookup table.
I want that when I open the lookup table modal it shows a "Fullname" field in the list to pickup from, but in the CustomerID field (list/edit/view) I want to show the "ShortName" field instead.
How to do it?


MichaelG
User
Posts: 1095

Post by MichaelG »

You can use the Row_Rendered server event to format the view value for display. For example:

Field.ViewValue = "...";


Post Reply