ComponentOne MultiPage for ASP.NET AJAX: C1MultiPage Behavior > Selected Index

Selected Index

The C1MultiPage control's tabs follow a zero-based index, meaning that the index of the first tab is zero. By default, the SelectedIndex property will be set to zero ("0"), and the first page will have focus at run-time. To change which page is selected at run-time, set the SelectedIndex property to a different number in the index. For example, if you have four pages and want the last one to be selected at run-time, you would set the SelectedIndex property to 3.

For task-based help on setting the SelectedIndex property, see Changing C1MultiPage's Selected Index.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.