Our homepage is build using AjaxTabcontainer and it allows the user to add webparts in it.
We have added the pagecatalog to the homepage, so the closed portlets they can add it later. The pagecatalog contains the Add to dropdown contains the list of available zones where the user can add the portlet to.
My question is when the user selects the add portlet we show the pagecatalog and it shows the list of the portlets available to add and its fine.
We need to show the current tab first zone as the default one rather than the first tab zone is being shown as default always.
Ex:
1st tab contains 2 zones (zone1,zone2)-- when user accesses the add portlet by default it will show zone1 as selected-- no issues
2nd tab contains 2 zones (zone3,zone4)-- when user accesses the add portlet by default it should display the zone selected as zone3 than zone1
We are simply adding the pagecatalog as shown below.
<
asp:CatalogZone ID="CatalogZone8" runat="server">
<ZoneTemplate>
<asp:PageCatalogPart ID="PageCatalogPart8" runat="server" Width="194px" />
</ZoneTemplate></asp:CatalogZone>
Can this be achieved via javascript ?
kindly suggest how to do this