# Content Operations

The Splitter provides several options for setting the content of the panes.

* [Static Content](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/layout/splitter/content#static-content)
* [Asynchronously loading content](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/layout/splitter/content#asynchronously-loading-content)

## Static Content

You can set the HTML for each Splitter pane via the [`Content()`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/splitterpanebuilder#contentsystemaction) configuration option.

The following example demonstrates how to configure the HTML Content for the Splitter:

```Razor HtmlHelper
    @(Html.Kendo().Splitter()
        .Name("splitter")
        .Orientation(SplitterOrientation.Vertical)
        .Panes(verticalPanes =>
        {
            verticalPanes.Add()
                .Size("100px")
                .HtmlAttributes(new { id = "top-pane" })
                .Content(@<div class="pane-content">
                              <h3>Top pane</h3>
                          </div>);
            verticalPanes.Add()
                .Size("100px")
                .HtmlAttributes(new { id = "middle-pane" })
                .Content(@<div class="pane-content">
                              <h3>Middle pane</h3>
                          </div>);
            verticalPanes.Add()
                .Size("100px")
                .HtmlAttributes(new { id = "bottom-pane" })
                .Content(@<div class="pane-content">
                              <h3>Bottom pane</h3>
                          </div>);
        })
    )
```

## Asynchronously loading content

The Splitter provides built-in support for asynchronously loading content from URLs via the [`LoadContentFrom()`](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/splitterpanebuilder#loadcontentfromsystemstring) coniguration option. These URLs should return HTML fragments that will be loaded in the pane of a Splitter. To load a whole page in an `iframe`, specify the complete URL, for example, <https://www.telerik.com/>.

The following example demonstrates how to load the Splitter content asynchronously.

```Razor HtmlHelper
@(Html.Kendo().Splitter()
    .Name("splitter")
    .Panes(panes =>
    {
        panes.Add().LoadContentFrom(Url.Action("PaneContent", "Splitter"));
        panes.Add().LoadContentFrom("https://www.telerik.com/");
    }))
```

```C# Controller
public ActionResult PaneContent()
{
    return PartialView();
}
```

## See Also

* [Loading Content with AJAX in the Splitter (Demo)](https://demos.telerik.com/aspnet-mvc/splitter/ajax)
* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/splitter)
* [JavaScript API Reference of the Splitter](https://docs.telerik.com/kendo-ui/api/ui/splitter)
