The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am building a WYSIWYG editor with the HTMLUI control. My problem is I can''t figure out how to delete an element from the document without a runtime error occuring...
Below is the code I am using. I can''t find any information on this in the documentation or in the forums.
If Not Me._elmSelected Is Nothing Then
Me._elmSelected.Parent.Children.Remove(Me._elmSelected)
Me._elmSelected = Nothing
Me.HtmluiControl1.Refresh()
End If
ADAdministrator Syncfusion Team August 12, 2005 07:21 PM UTC
Hi Todd,
Please try running the sample linked to below at your end and let us know if it works. The sample uses the same approach as your code and works with the latest version:
32988_ForumRuntimeRemove_8664.zip
Thanks,
Davis