on 04-24-2006 10:29 PM
I need to use multiple instances of a view within a window. I've been through the tutorial on component usage (with the 2 image views, etc.), but I need to have over 10 instances of the same view each with their own context values, etc., and setting up a component usage for each seems counter-productive.
Is there an easier way of having multiple view instances?
Thanks,
Cindy
Cindy,
In fact, this is "right way" -- encapsulate "view entry" functionality into one WD component, then create N usages to this component from some other (embedding) component. Btw, it is possible to create and assemble such usages dynamically.
The overhead of such component usages will not exceed (significantly) other startegies (say, dynamically create 10xN grid of controls in one view).
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Valery,
Thanks. It is the dynamic building of adding the view usages that I'm looking for. Are there any good references you could point me to for this? I can setup view containers an design time, but would like to put the instances of the views (one per container) into each container at runtime. If the containers could also be added dynamically, that would be even better.
Thanks,
Cindy
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.