aspnetbootstrap-devexpress-dot-web-dot-bootstrap-e4dc7f1d.md
Represents a navigation control made up of multiple tabbed pages.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
[DXClientDocumentationProviderWeb("BootstrapPageControl")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapPageControl :
ASPxPageControl,
ISimpleRenderControl,
IBootstrapTabControlCssClassesOwner
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapPageControl")>
Public Class BootstrapPageControl
Inherits ASPxPageControl
Implements ISimpleRenderControl,
IBootstrapTabControlCssClassesOwner
Note
The BootstrapPageControl control provides you with comprehensive client-side functionality implemented using JavaScript code:
The control’s client-side API is enabled if the ASPxTabControlBase.EnableClientSideAPI property is set to true, or the ASPxTabControlBase.ClientInstanceName property is defined, or any client event is handled.
Callbacks vs. Postbacks
Use the page control’s ASPxTabControlBase.AutoPostBack property to control whether any end-user manipulation with the control’s elements (page tabs) requires a round trip to the server side for further processing.
Round trips to the server can be performed in the following ways:
You can define which way to use to perform round trips to server using the ASPxPageControl.EnableCallBacks property.
Round trips to the server can be cancelled in a handler of the corresponding client-side event.
Usage Notes
If you want to use a navigation control which only provides a tabbed interface but doesn’t contain any pages with child controls, consider using the BootstrapTabControl control.
This example demonstrates the basic functionality of the Page Control.
BootstrapPageControl class.ContentCollection items.The image below shows the result:
<dx:BootstrapPageControl runat="server">
<TabPages>
<dx:BootstrapTabPage Text="Home">
<ContentCollection>
<dx:ContentControl runat="server" SupportsDisabledAttribute="True">
...
</dx:ContentControl>
</ContentCollection>
</dx:BootstrapTabPage>
<dx:BootstrapTabPage Text="Products">
<ContentCollection>
<dx:ContentControl runat="server" SupportsDisabledAttribute="True">
...
</dx:ContentControl>
</ContentCollection>
</dx:BootstrapTabPage>
<dx:BootstrapTabPage Text="Support">
<ContentCollection>
<dx:ContentControl runat="server" SupportsDisabledAttribute="True">
...
</dx:ContentControl>
</ContentCollection>
</dx:BootstrapTabPage>
</TabPages>
</dx:BootstrapPageControl>
Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxHierarchicalDataWebControl ASPxTabControlBase ASPxPageControl BootstrapPageControl
See Also