Posted on: 7/15/2014 1:45:30 PM | Views : 491

Hi
The subject line might not be very clear but here is my scenario:
I have a page called Preferences.aspx. It has 3 tabs on it named General, Voice mail, Contacts as un-ordered list items (<ul><li></li></ul>). Each tab has a user control bound to it, General.ascx, VoiceMail.ascx and Contacts.ascx respectively. 
In the code behind of Contacts.ascx, I have a method that is quite an overhead, it takes quite a long time to load and process data through a REST call. The time it takes is well justified because of the complexity of processing it does. So nothing wrong with that. Now, what happens is that when user clicks on a link which points to Preferences.aspx, all user controls get loaded and so it takes some time even if the user has to do something with general settings on General tab. Contacts.ascx cannot be put outside as a separate page or link because this is a requirement that these should be grouped and kept together. ...

Go to the complete details ...