We have the following scenario where we can not provide a DataField because the item template is binded during ItemDataBound.
How can we provide search functionality ?
We have an object like:
AuditItem
{
int id;
....
Object MyObject;
}
TransactionActionLabel.Text is filled by = Cache.Get((ITransactionCapable)item.dataitem.MyObject).TransactionAction;
Should we change the way we bind the data to our grid? should we provide something like a Bindable object full of all the properties already? So the grid will interact with just a collection of these simple objects?
Bests,
Alan.
How can we provide search functionality ?
We have an object like:
AuditItem
{
int id;
....
Object MyObject;
}
TransactionActionLabel.Text is filled by = Cache.Get((ITransactionCapable)item.dataitem.MyObject).TransactionAction;
Should we change the way we bind the data to our grid? should we provide something like a Bindable object full of all the properties already? So the grid will interact with just a collection of these simple objects?
Bests,
Alan.