- I've got three typed views, each start with the same first four columns.
- Each typed view is accessed in seperate user controls
- I want the parent page to filter the grid for a user control with out having to know which typed view is being used.
I would like to just create a generic predicate object that any of the three user controls can get and use to filter their typed views. But when creating a predicate you must specify the tablename and the field name. Well, my problem is that the parent page doesn't know what the table name (or view) the child control is using, but it does know that what ever view it is using it wants to filter by AgencyCode.
Can I make the views inherit from a common view or something? Or can I construct a generic field name to use in my predicates? I've tried doing both, but could not figure out how to make it work.
--matto