• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Code Editor Layout in ASP.NET MVC Splitter Control

This example demonstrates the splitter control that is used to design code editor-like application using multiple panes. You can resize its panes vertically as well as horizontally.

DEMO
SOURCE

HTML

<!DOCTYPE html>
<html>
<body>
<div id='custom-image'>
<img src='src/albert.png'>
<div>
</body>
</html>

CSS

img {
margin:0 auto;
display:flex;
height:70px;
}

JavaScript

var image = document.getElementById('custom-image');
image.addEventListener('click', function() {
// Code block for click action
}

Preview of sample

The Splitter is used to design code editor-like application using multiple panes. In this code editor layout, display HTML, CSS, and JavaScript (JS) code as horizontal panes at the top and output of sample at the bottom pane.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE