ImageVisit DNNStuff

Aggregator Selecting Tabs

Modified: 2007/11/21 22:26 by dnnstuffadmin - Categorized as: Aggregator - Paths: Aggregator
In the default configuration, the first tab is always the initial tab to be shown. Sometimes it is desirable to have another tab show instead. There are a couple different ways to accomplish this.

Edit

Selecting a tab using a url

To select a tab using a url you will need to add a querystring parameter to your url in a specific format. You can select the tab in one of three ways.

1. By Tab Number - SelectByNum

Add the following querystring parameter to your url, Module{ModuleId}_SelectByNum={TabNumber} where {ModuleId} is the ModuleId of the Aggregator module and {TabNumber} is the tab number you wish to select.

Example:

The original page url is http://localhost/Test/tabid/54/Default.aspx

The module id of the Aggregator module is 370 and you wish to select tab number 3.

The url to select this is, http://localhost/Test/tabid/54/Default.aspx?Module370_SelectByNum=3

2. By Tab Title - SelectByTitle

Add the following querystring parameter to your url, Module{ModuleId}_SelectByTitle={TabTitle} where {ModuleId} is the ModuleId of the Aggregator module and {TabTitle} is the title of the tab you wish to select.

Example:

The original page url is http://localhost/Test/tabid/54/Default.aspx

The module id of the Aggregator module is 370 and you wish to select the tab with a title of 'Page 5'

The url to select this is, http://localhost/Test/tabid/54/Default.aspx?Module370_SelectByTitle=Page 5



ScrewTurn Wiki version 2.0.19. Some of the icons created by FamFamFam.