The highly extensible duo controls TabContainer and TabPanel provide
for a highly functional and AJAX-style tab support in your web application. The TabContainer
control is a host control that can contain one or more TabPanel controls. These
tabs can be customizable because just about any HTML markup can exist in the Content-
Template or HeaderTemplate sections of the TabPanel control. Tables 8-17 and 8-18 list the
properties of the TabContainer and TabPanel controls, respectively.
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 201
Table 8-17.Main Properties of the TabContainer Control
Property Name Description
ActiveTabChanged The server-side event triggered when the user switches to another tab.
ActiveTabIndex Index of the selected tab.
CssClass CSS class used to decorate the Tab control with custom settings. You
can define the header, outer, inner, and body of the tab as well as other
behavior settings such as when a tab becomes active.
Height Height of the individual tab body.
OnClientActiveTabChanged The client-side event triggered when the user switches to another tab.
Pages:
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289