When viewing a details view all the Tabs are also loaded causing a lot of unnecessary calls whether the user needs or not. Can this be changed to make the call to the database only when the tab is clicked on. We have various scenarios where there are many tabs on the page anywhere from 5-15 tabs on a page.
This will cause a lot of overhead on the system with lot of users.
Can you provide me with a sample or tell me how to achieve this?
Thanks,
Sun
We have closed this ticket because another page addresses its subject:
Layout.Web - Provide the capability to load tabbed groups content dynamically
Hello Sun,
Are you talking about Windows Forms or ASP.NET XAF applications? In the latter case, we already have a suggestion to implement this functionality in future versions of the suite: Layout.Web - Provide the capability to load tabbed groups content dynamically. Please wait until it is implemented, because at present it's impossible to address this problem without introducing changes to the core of our framework.
In Windows Forms, this functionality is already implemented by default and if you face problems with performance, it's likely that they are caused by your own code. For example, you may have a controller that accesses a details collection of an object and so initiates its full loading.
If this is not the case, could you please provide us with a small demo or describe us how to see the problem with our demos.
See Also:
Layout.Win - Low performance when opening a Detail View containing a lot of tabs
Layout.Web - Provide the capability to load tabbed groups content dynamically
Layout - Improve Performance for Complex DetailViews
Thanks,
Dennis
Hello Dennis,
Thanks for the prompt reply. I was referring to ASP.NET XAF applications? Do you have any time frame on when this feature will be implemented?
Thanks,
Sun
Hello Sun,
>> Do you have any time frame on when this feature will be implemented?
No, sorry.
We never say that feature X will be done in the Y release until it has really happened. So, we always answer such questions: "Unfortunately, we cannot provide you with an exact time frame when this feature is implemented. You will be automatically notified when the state of Z issue is changed."
Thanks,
Dennis