Hi,
I want the change the description of the labels on my silverlight dataform which currently show as my table fieldnames (dbEmailAddress).
<StackPanel Grid.Row="0" Grid.Column="1">
<dataFormToolkit:DataForm x:Name="dataForm1"
CurrentItem="{Binding SelectedItem, ElementName=dgLeagues}"
Header="Product Details"
>
</dataFormToolkit:DataForm>
I know I can get around this by adding DataFields programmatically in the xaml, but is there away to add the attributes in the RIA class ( in the web application) so it filters through, something like this in the ria domain metadata file.
[Display(Name = "Email Address:",
Description="We do not sell your information!")]
public string EmailAddress { get; set; }
-would this work?
Also if it would, then would this approach be useless as a recompile of the ria domain service metadata file mean I would loose any changes since its generated?
Thanks, jason