Hi Dennis,
That is an interesting solution. I have yet to try it though.
But let me just make sure we are on the same page.
When you click on the navigation on the right, a ListView appears.
It is on that form where i need to show two distinct ListViews.
One on the left, another on the right.
Are you saying that if i do:
[RootObject]
public class SearchTasksObject : XPObject {
private string filterCriteria;
private XPCollection<Task> tasks;
private void FillCollections() {
if(tasks == null) {
tasks = new XPCollection<Task>(Session);
}
if(!String.IsNullOrEmpty(filterCriteria)) {
tasks.Criteria = new BinaryOperator("Subject", filterCriteria + "%", BinaryOperatorType.Like);
}
else {
tasks.Criteria = null;
}
}
public SearchTasksObject (Session session) : base(session) { }
public string FilterCriteria {
get { return filterCriteria; }
set {
filterCriteria = value;
FillCollections();
}
}
[Aggregated]
public XPCollection<Task> Tasks {
get {
FillCollections();
return tasks;
}
}
}
or of course, some derivative of it, then I'd basically have the two ListViews that I want?
I'm just making sure that we are not trying to cover DetailView here.
Anyway, perhaps an even broader, but more appropriate question here is, can you modify the layout of the
ListView form itself? Meaning, can I add a button there, another grid perhaps, put them all in a tab.
Thank you very much for your support.