Hi All,
I tested Dialog and RichTextEditor in 19.4.0.56 version and found tool bar display error.

Please see gif and project attachment for more detail.
Anybody help me, how to fix this issue?
Thank you & Best Regards,
Sun
Attachment: RichTextEditor_Dialog_c0ff808e.zip
|
<SfDialog Visible=true Width="500px">
<ChildContent>
<DialogEvents Opened="@DialogOpen"></DialogEvents>
<SfRichTextEditor @ref="RteObj"…>….</SfRichTextEditor>
</ChildContent>
</SfDialog>
@code {
SfRichTextEditor RteObj;
private void DialogOpen()
{
this.RteObj.RefreshUI();
}
} |
Hi Buvana Sathasivam,
That works for me.
Thank you!
@Buvana Sathasivam
I'm using the built-in dialog for the SfGrid Edit functionality. How to get the RichTextEditor working with this setup?
<SfGrid DataSource="@Orders" AllowPaging="true" @ref="Grid" Toolbar="@(new string[] { "Add", "Edit", "Delete", "Cancel", "Update" })" Height="315"> <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Dialog"> <Template> @{ ...... ........ <SfRichTextEditor @ref="rteObj" EnableXhtml="true" Placeholder="Enter Value"> <RichTextEditorEvents Created="@Created"></RichTextEditorEvents> </SfRichTextEditor> </div> </div> </div> } </Template> </GridEditSettings> </SfGrid> @code { public void Created() { this.rteObj.RefreshUI(); } } |