Jan 14, 2014, 9:13 AM
[CLOSED] Store in .aspx: Access to the Store from usercontrol
Hi everyone,
I have an aspx which contains several usercontrols. Sometimes, several usercontrols need the same data from the data base (for example, "Cities" table), so I think it would be better (under performance point of view) if there is just one Store in aspx and the user controls read the data from that Store (instead of each usercontrol having its own Store loading each one the same data).
So, how could the usercontrol access to the Store contained in aspx??
Thank you in advance.
I have an aspx which contains several usercontrols. Sometimes, several usercontrols need the same data from the data base (for example, "Cities" table), so I think it would be better (under performance point of view) if there is just one Store in aspx and the user controls read the data from that Store (instead of each usercontrol having its own Store loading each one the same data).
So, how could the usercontrol access to the Store contained in aspx??
Thank you in advance.
Last edited by Daniil; Jan 17, 2014 at 10:27 AM.
Reason: [CLOSED]