dpanet wrote:
I'm new here and I'm evaluating the product.
For those how have done big projects with this tool, I want to ask you , what are your techniques used to display lookup values?
do you always create dynamic lists and return it to the user.
Here is how I tackled the solution. I have an ILookupList interface:
public interface ILookupList
{
void AddItem(ILookupItem item);
void ClearItems();
}
I stick this guy in a common library so web apps or win apps have access. Now, you can either derive your own combobox that implements this interface, or create an adapter that delegates to the particular control.
Here is the ILookupItem
public interface ILookupItem
{
object Value { get; set; }
string DisplayText { get; set; }
}
With LLBLGen 2.0, you can now project the results of a dynamic list call onto a class that implements ILookupItem. There you go, a flexible and easy to use solution. Let me know if you have any questions.