. Add a Query Template and set the query to "Select top 00 * from Tabs" Next we will add both a Detail and Footer template. For Ajax functionality we will call OWS.Fetch, which makes an AJAX request to the server, and expects in return markup which is to be both written tot he page and parsed for javascript tags. we will want the result of that fetch to be a Script execution, and it should not visually affect the displayed front end. To do this, we will need to pass a targetid to the AJAX request, that target being the location where the result should be rendered. In the footer template, add a dummy Div which will be used to contain the result. I normally give it an id like 'dvHidden', and a style setting it to display none. Next, open the detail template and assign it to <div onclick="ows.Fetch('[ModuleID,System]',-0,'tid=[TabID]');','dvHidden');">[TabPath]</div>. Again, note the parameters. The first identifies the Module which is to be affected, the second, the page numbering. In this case we are not going to have our request affect the current page number so we set it to -0. The third parameter identifies the Querystring which will be dictated to the server, this appends to any querystring which is already assigned at the page level. And finally, as noted previously - dvHidden is the target of our request. Now we add a Region which specifically handles the AJAX request. Add a Query Variable which will consume the tid from the querystring which is passed via OWS.Fetch. Name the variable @tid, and set it to only allow numeric values. Add a Template action, and set the Query Template to consume the @tid variable we just created, "Select * from Tabs where TabID=@tid Finally, add a detail action which sets the Page Title via javascript: document.title = 'You selected [TabName]'; In the previous step, notice that single quotes could cause problems with the syntax. A special formatter has been added to allow for controlled encoding of JAvascript specifically. To make sure you dont have any problems, use the ENCODEJAVASCRIPT formatter instead of a straigh Column Value token: