Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Improve Performance of UltraWebTab

Last post 10-02-2008 9:17 by [Infragistics] Viktor Snezhko. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-04-2008 18:39

    • kmpdev
    • Not Ranked
    • Joined on 09-04-2008
    • Points 25

    Improve Performance of UltraWebTab

    I've got a web page with an 8.1 ultraweb tab control that has a number of tabs on it (8). Each tab is populated by an ascx (asp control) page. The site is setup to bring all of the data in and populate each tab as the initial page is loaded. I would like to load the first 4 tabs on initial load and then load the subsequent tabs based upon other criteria. I've tried a setting a number of the UltraWebTabs properties, but the results don't assist the performance noticeably. I've attempted setting the "LoadAllTargetUrls" to false, setting the "AsyncMode" to various choices and a number of other combinations. In each case, the performance of the site did not improve.

    I'm looking for suggestions related to setting up the control in a fashion where the page will keep its current state and then load another tab when selected or based on other criteria. IE. loading another tab dynamically, without reloading all of the previously loaded tabs. We upgraded to 8.1 with the idea that this would be a common scenario for the tab control supporting AJAX or AJAX like functionality.

     

    • Post Points: 20
  • 09-08-2008 11:13 In reply to

    Re: Improve Performance of UltraWebTab

    Hi,

    The initial load depends on size of html, but not on AJAX or similar features. To load content of specific tabs (let say selected tab) only, you need to do so much work on server, that you probably will not like that. For example, you should move all codes related to contents of tabs from static aspx to dynamic cs/vb files. Within OnLoad (or similar event) you should remove all contents from all tabs, check index of selected tab and fill its content only. In case of several tabs you should fill only them (though it has no sence compare to single selected tab). That part is rather simple, however, if you need to process server events of child controls in content panes, then here you may get a lot of unexpected things. In edge case scenario you should manually raise all server events by analizing content of Page.Request.Form (value in __EVENTTARGET, etc).

    Regards,
    Viktor
    Infragistics web team
    • Post Points: 20
  • 10-01-2008 18:03 In reply to

    Re: Improve Performance of UltraWebTab

    I do have the same problem and I am not sure how do you manage loading using cs files. You mean based on the tab you need load the controls dynamically? Since I have ascx pages and when the page is loaded, all the ascx pages page_load is fired. Appreciate, if you can suggest so that i load only the selected tabs content is loaded.

    • Post Points: 20
  • 10-02-2008 9:17 In reply to

    Re: Improve Performance of UltraWebTab

    Hi,

    Async options of tab are designed for postbacks only. Some of options allow to update content of selected tab only.

    If application needs to reduce size of html on initial load, then features of tab can not help, and application should find its own way to do that. For example, it should remove all controls which should not be loaded on start from aspx (or set their Visible=false) and within OnLoad event check condition(s) which will be used to add/remove (or show/hide) those controls. Condition(s) can be anything like state of check-boxes, indexes of selected tabs, etc. Sure application will become very complex, but I do not know another way.

    Regards,
    Viktor
    Infragistics web team
    • Post Points: 5
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems