Hi all,
Version llblgen:
2.6 final, released on 12 September 2008
I have a bindingSource in my application.
This bindingSource has the <typedListName>Row as dataSource.
This bindingSource is bound to a grid and also bound to a FilterControl.
I use this piece of code to modify the filterControl (for example: add a combobox to the filter on a specific field of the typedList):
private void BuildFilterControl()
{
var vcombo = new RepositoryItemComboBox();
vcombo.Items.Add("Test");
filterControl1.FilterColumns[**"AssessmentId"**].SetColumnEditor(vcombo);
}
My question is:
Can't I replace the string with <typedListName>Fields.AssessmentId.Name ?
If not, I tried to use <entityName>Fields (example: AssessmentFields.Id.Alias (as the name itself is "Id", but then I didn't know where to set the Alias property in the designer) )
Any thoughts on how to get the string out in a proper way (bound to the actual generated code) would be great!!
Kind regards,
Wim