Search results

Getting Started

This section briefly explains about how to include a simple Toolbar in your ASP.NET Core application. You can refer ASP.NET Core Getting Started documentation page for introduction part part of the system requirements and configure the common specifications.

Adding component to the Application

  • Now open your view page to render Toolbar component.
tagHelper
data.cs
<ejs-toolbar id="defaultToolbar">
    <e-toolbar-items>
        <e-toolbar-item prefixIcon="e-cut-icon tb-icons" tooltipText="Cut"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-copy-icon tb-icons" tooltipText="Copy"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-paste-icon tb-icons" tooltipText="Paste"></e-toolbar-item>
        <e-toolbar-item type="Separator"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-bold-icon tb-icons" tooltipText="Bold"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-underline-icon tb-icons" tooltipText="Underline"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-italic-icon tb-icons" tooltipText="Italic"></e-toolbar-item>
        <e-toolbar-item prefixIcon="e-color-icon tb-icons" tooltipText="Color-Picker"></e-toolbar-item>
    </e-toolbar-items>
</ejs-toolbar>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace EJ2CoreSampleBrowser.Controllers
{
    public partial class ToolbarController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }
        public IActionResult DefaultFunctionalities()
        {
            return View();
        }
    }
}

See Also