|
|
Title: The Phantom Menace
Release Date: 1999
Directed by: George Lucas
Tagline: Every generation has a legend. Every journey has a first step. Every
saga has a beginning.
Plot Outline: This First Episode follows the young years of Anakin Skywalker
(Darth Vader). The friendship of Obi-wan Kenobi...
|
|
Title: Attack of the Clones
Release Date: 2002
Directed by: George Lucas
Tagline: A Jedi Shall Not Know Anger. Nor Hatred. Nor Love.
Plot Outline: Anakin Skywalker shares a forbidden romance with Padmé Amidala
while his teacher, Obi-Wan Kenobi, makes an investigation of a separatist assassination
attempt on Padmé which leads to the discovery of a secret Republican clone army.
|
|
Title: Revenge of the Sith
Release Date: 2005
Directed by: George Lucas
Tagline: The saga is complete.
Plot Outline: After three years of fighting in the Clone Wars, Anakin Skywalker
concludes his journey towards the Dark Side of the Force, putting his friendship
with Obi Wan Kenobi and his marriage at risk.
|
|
Title: Star Wars
Release Date: 1977
Directed by: George Lucas
Tagline: A long time ago in a galaxy far, far away...
Plot Outline: Luke Skywalker leaves his home planet, teams up with other
rebels, and tries to save Princess Leia from the evil clutches of Darth Vader.
|
|
Title: The Empire Strikes Back
Release Date: 1980
Directed by: Irvin Kershner
Tagline: The Adventure Continues...
Plot Outline: While Luke takes advanced Jedi training from Yoda, his friends
are relentlessly pursued by Darth Vader as part of his plan to capture Luke.
|
|
Title: Return of the Jedi
Release Date: 1983
Directed by: Richard Marquand
Tagline: Coming May 25, 1983 to your galaxy. [Second Advance poster]
Plot Outline: After rescuing Han Solo from the palace of Jabba the Hutt,
the Rebels attempt to destroy the Second Death Star, while Luke Skywalker tries
to bring his father back to the Light Side of the Force.
|
|
This sample demonstrates the use of template technology found in the ASPxPageControl. The look of each tab element of the page control can be modified by creating a specific template which defines how the tab will be rendered by a client browser. In this demo, templates of type TabTemplate and ActiveTabTemplate are used to define non-typical appearances for individual tabs (tabs with rounded edges).
In order to display tabs with rounded edges, the image that represents a single tab should be divided into three sections as shown below (note that pictures for a selected tab should be 1 pixel higher).

The tab template implemented in this demo is defined by using a table with three cells. Each cell contains the corresponding portion of the image. The left and right sections of the image are represented by entire images. The middle portion is used as a background image which is tailed horizontally according to the length of the tab's content (which is, in particular, the text taken from the tab's Text property during binding the template's child controls).
Refer to ASPX code to see how a ActiveTabTemplate is defined by using the described approach.