PDA

View Full Version : [CLOSED] Recommendations required for store usage on a big massive page?



asolvent
Apr 12, 2014, 1:37 PM
Hi,

We have a requirement where in same data needs to be used in more than 50 combo boxes on one screen, what would be best approach to address this requirement?

Is there a way to use the same store with multiple controls, if not then what would a good approach for such situation? We have screens which may have many form panels and grids sitting on it, this screen will be scrollable.

In essence, we are looking at having more than 400 controls on one big page, seeking your recommendations to control the performance in an acceptable way.

Thanks in advance!

Cheers,
Avi

Vladimir
Apr 12, 2014, 4:30 PM
Hi,

Well, you can use one store for many widgets. But can be some problems. If one widget filters the store (for example, if you type in a combobox then store is fitered to show matched items) then it affects on all other widgets. So, you can use one store for many widgets via StoreID property



In essence, we are looking at having more than 400 controls on one big page, seeking your recommendations to control the performance in an acceptable way.

I suggest to break UI on several demand loading areas to reduce page loading. For example, you can use TabPanel with several tabs and load each tab on first time activation

asolvent
Apr 14, 2014, 11:36 AM
Hi Vladimir,

Thanks for your valuable inputs; We have started using PartialViewResult for loading panels dynamically, is that the way to go?

Cheers,
Avi

Daniil
Apr 14, 2014, 5:54 PM
Hi @asolvent,

Yes, if you work on the MVC project, using partial views is a way to go.

You can render stuff only when it is required, on a user's demand. For example, you can use a Panel, initially collapsed. If a user expands the Panel, then render the content dynamically from, example, a partial view. There is a possibility to render a partial view on the fly.
http://mvc.ext.net/#/search/dynamic+partial