Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
    • Overview
    • Installation & Deployement
    • EO.Web ToolTip
    • EO.Web Rating
    • EO.Web Slider & RangeSlider
    • EO.Web ListBox
    • EO.Web ComboBox
    • EO.Web Captcha
    • EO.Web ASPX To PDF
    • EO.Web Slide
    • EO.Web Flyout
    • EO.Web EditableLabel
    • EO.Web ImageZoom
    • EO.Web Floater
    • EO.Web Downloader
    • EO.Web ColorPicker
    • EO.Web HTML Editor
    • EO.Web File Explorer
    • EO.Web SpellChecker
    • EO.Web Grid
    • EO.Web MaskedEdit
    • EO.Web Splitter
    • EO.Web Menu
    • EO.Web Slide Menu
    • EO.Web TabStrip
    • EO.Web TreeView
    • EO.Web Calendar
    • EO.Web Callback
    • EO.Web MultiPage
    • EO.Web Dialog
    • EO.Web AJAXUploader
    • EO.Web ProgressBar - Free!
    • EO.Web ToolBar - Free!
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
Using EO.Web MultiPage

Overview

EO.Web MultiPage offers highly flexible multi-view functionality. The control supports complete server-side & client-side object models that allow you to switch the active page either on the server side or on the client side. It can be used with other navigation controls such as Menu, SlideMenu, TabStrip and TreeView to create a multi-tab interface in a matter of seconds.

Using MultiPage on the server side

Using MultiPage client side interface

Using MultiPage with other EO.Web Navigation Controls

Using MultiPage on the server side

Simply drag an EO.Web MultiPage control onto your Web Form to create an instance of MultiPage control. MultiPage is a container control that contains any number of PageView control. PageView control is also a container control that can contain any other ASP.NET controls. The picture below shows a MultiPage control that contains three PageView controls:

As shown in the picture, each PageView control also contains other controls.

You can use the following methods and properties to navigate the current selected page:

Method/Property Remarks
SelectedIndex Sets or gets the index of the current selected page.
SelectLast Navigates to the last PageView control.
SelectNext Navigates to the next PageView control.
SelectPrevious Navigates to the previous PageView control.
SelectPageByID Navigates to the PageView control with the specific ID.

EO.Web MultiPage control also supports automatic navigation based on CommandName. For example, you can add a "Next" button on your PageView control and sets its CommandName to the value of MultiPage.NextPageCommandName. When the button is clicked, the MultiPage control automatically navigates to the next page.

Using MultiPage client side interface

You can also change the current selected page on the client side through JavaScript. The following code snippet switches to the next page when the link is clicked:

HTML
<a href="javascript:eo_GetObject('MultiPage1').selectNext();" >Next</a>

For a complete reference of EO.Web MultiPage client side object, see here.

Using MultiPage with other EO.Web Controls

EO.Web MultiPage can be used together with EO.Web Menu, Slide Menu or TabStrip. To use EO.Web MultiPage with these controls, set the MultiPageID property to the ID of the MultiPage control, optionally, you can also set the PageViewID property to explicitly associate a NavigationItem with a PageView. When a navigation item is selected, the associated PageView is set to selected and displayed.

For a detailed walkthrough, see Creating a Tabbed Dialog.