Hi Mahesh,
Greetings from Syncfusion
support.
We cannot change the
component actual value to upper case, but we can change the value to upper case
by using the below code example.
@using Syncfusion.Blazor.Inputs
<span>two-way
binding value @TextValue.ToUpper()</span>
<SfTextBox @bind-Value="@TextValue" CssClass="conversion"></SfTextBox>
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name"
Width="120">
<Template>
@{
var UCase =
context as Order;
<div>
@UCase.CustomerID.ToUpper()</div>
}
</Template>
</GridColumn>
@code {
public string TextValue
{ get; set; } = "Syncfusion";
}
<style>
.e-control-wrapper.conversion
.e-textbox {
text-transform: uppercase;
}
</style>
|
Regards,
Sarveswaran PK