[CLOSED] How do I make the iFrame portlets in a portal load only when opened?

  1. #1

    [CLOSED] How do I make the iFrame portlets in a portal load only when opened?

    I have a portal that contains a bunch of portlets in various collapsed modes (collapsed and expanded). I would like the portlets that are collapsed not to load until they are expanded (is this what is meant by lazy loading?) instead of having all of them load when the portal page loads.

    Is this possible? If so, how do I accomplish it?
    Thanks in advance,
  2. #2

    RE: [CLOSED] How do I make the iFrame portlets in a portal load only when opened?

    Hi,

    Try this listener
    <ext:Portlet ID="Portlet1" runat="server" Title="Another Panel 1">
    ** * * *<Listeners>
    ** * * * * * * *<Expand Handler="this.load({url:'myurl.aspx',mode:'iframe' , showMask:true});" Single="true" />
    ** * * *</Listeners>
    </ext:Portlet>

    ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **



  3. #3

    RE: [CLOSED] How do I make the iFrame portlets in a portal load only when opened?

    That works great, thank you very much. You can mark this as [CLOSED].

Similar Threads

  1. [CLOSED] Problem with portal and portlets
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Aug 16, 2010, 6:13 PM
  2. [CLOSED] [1.0] Dropping portlets into an empty portal...
    By betamax in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 26, 2010, 6:38 PM
  3. [CLOSED] [1.0] Portal does not show portlets when scrolling
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 18, 2010, 2:01 PM
  4. Dynamic portal and portlets in code behind
    By Sofficino in forum 1.x Help
    Replies: 1
    Last Post: Jun 08, 2009, 4:42 AM
  5. [CLOSED] Create Stateful Portal - Save Position and Collapse of Portlets
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 16, 2008, 7:26 PM

Posting Permissions