I've downloaded the newest beta of webgrid.dll (by becoming a premium member). I've configured a foreign key column to show me drop down of choices i want saved in a database field but it still doesn't work. Here's my code:
<WG:foreignkey SortExpression="value" ValueColumn="value" Where="[Choices].[category]='Grade'" DataSourceId="Choices" ColumnId="Grade" AllowEmpty="False" NullText="Select" EditAlign="Left" GridAlign="Left" IsInDataSource="False" MaxSize="30" Priority="56" Required="True" Title="Grade" Visibility="Both"></WG:Foreignkey>
The drop down does show me the data to choose from but it won't save what i choose. It doesn't save anything. I want to save the text displayed in the drop down, not the foreign key number. Can you tell me how to do this with the new webgrid.dll version? Thanks