Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Collapse]Navigation and Layout Extensions
     Overview - Splitter
      Pane Orientation
      Hierarchical Pane Structure
      Pane Resizing
      Pane Collapsing and Expanding
      Displaying External Content
    [Expand]Visual Elements
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Displaying External Content

A Splitter allows you to display external web pages as the content of splitter panes.

You can use the SplitterPane.ContentUrl (via MVCxSplitterPane.ContentUrl) property of a pane object to specify the URL of the web page to be displayed within the pane. A web page, specified by this property, is displayed within a pane occupying its entire area. If any other content is defined within a pane explicitly (in the aspx markup or programmatically), it is ignored and not displayed in this case. If the size of a pane is not enough to accommodate the entire web page, set the pane's SplitterPane.ScrollBars (via MVCxSplitterPane.ScrollBars) property to Auto.

On the client side, you can identify the web page loaded into a pane by calling the pane's ASPxClientSplitterPane.GetContentUrl method. Moreover, you can also dynamically load a specific web page into a pane by using the client ASPxClientSplitterPane.SetContentUrl method.

The following code demonstrates a Splitter with two panes. The content of the first pane is specified via the ContentUrl property. The second pane, which is initially empty, loads its content web page dynamically on the client side after a button is clicked.

View code (ASPX):

View code (Razor):

The resulting appearance is illustrated in the image below.

How would you rate this topic?​​​​​​​