<EjsDialog @ref="DialogObj" Width="450px" ShowCloseIcon="true">
<DialogEvents Opened="@DialogOpen"></DialogEvents>
<DialogTemplates>
<Header>
<div>Dialog Header</div>
</Header>
<Content>
<EjsRichTextEditor @ref="RteObj" @bind-Value=@this.Characteristics>
</EjsRichTextEditor>
</Content>
</DialogTemplates>
</EjsDialog>
@code {
EjsDialog DialogObj;
EjsRichTextEditor RteObj;
private string Characteristics;
private void DialogOpen()
{
this.RteObj.RefreshUI();
}
} |