We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I delete an element?

Thread ID:

Created:

Updated:

Platform:

Replies:

32988 Aug 11,2005 01:06 AM UTC Aug 12,2005 07:21 PM UTC Windows Forms 1
loading
Tags: HTMLUIControl
Todd Erickson
Asked On August 11, 2005 01:06 AM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;