Set the rounded corner

18 Dec 20241 minute to read

Render the TextBox with rounded corner by adding the e-corner class to the cssClass property of the TextBoxComponent.

<div class="control-section">
    @Html.EJS().TextBox("textbox").Placeholder("Enter Name").CssClass("e-corner").FloatLabelType(Syncfusion.EJ2.Inputs.FloatLabelType.Auto).Render()
</div>

<style>

.e-input-group.e-corner{
    border-radius: 4px;
}

</style>
public ActionResult Index()
{
    return View();
}