Jul 23, 2013, 8:08 AM
Mask loading on portlet and loading portlet one by one ?
Hi,
I would like to load a lot of chart in several portlet in code behind.
Nevertheless the response time is very long...
Is it possible to call portlet one by one ?
Because in my case I wait all portlet before use the application.
And is it possible to add a loading mask during the portlet creation ?
this is a exemple of my code :
I would like to load a lot of chart in several portlet in code behind.
Nevertheless the response time is very long...
Is it possible to call portlet one by one ?
Because in my case I wait all portlet before use the application.
And is it possible to add a loading mask during the portlet creation ?
this is a exemple of my code :
<ext:Portal
ID="Portal1"
runat="server"
Border="false"
BodyStyle="background-color: #ECF0F1; border: 1px solid #ECF0F1; border-top: none;"
>
<Items>
<ext:PortalColumn ID="PortalColumnGauche" runat="server"
ColumnWidth=".5"
StyleSpec="padding:10px 0 10px 10px">
<Items>
</Items>
</ext:PortalColumn>
<ext:PortalColumn ID="PortalColumnDroite"
runat="server"
ColumnWidth=".5"
StyleSpec="padding:10px">
</ext:PortalColumn>
</Items>
</ext:Portal>
foreach (var value in values)
{
if (indicateurIndex % 2 == 0 && chartType != null)
{
PortalColumnGauche.Items.Add(Components.InitPortletWithChart(...));
}
else
{
PortalColumnDroite.Items.Add(Components.InitPortletWithChart(...));
}
}