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.

Firing IHTMLElement events

Thread ID:

Created:

Updated:

Platform:

Replies:

24004 Jan 26,2005 01:08 PM Feb 15,2006 09:44 AM Windows Forms 5
loading
Tags: HTMLUIControl
Adam Flynn
Asked On January 26, 2005 01:08 PM

in the htmluicontrol.loadFinished eventhandler, I iterate through the elements in the html document and, for each of the ones with a tagname of "sentence" I assign an event handler for the MouseDown and DoubleClicked events (this assignment occurs successfully when I step through the code). However, when I execute the code and click or double click on a piece of text in the htmlcontrol that is contained by a "sentence" tage, the MouseDown or DoubleClick events for the element are never fired. Now if I wish I can capture a MouseDown event for the HTMLUIControl as a whole and, from that, use the GetElementAtClientPoint to get the clicked element. But this is sub optimal. Is there some trick to getting the Click, MouseDown, or DoubleClick events to fire, or capturing those events, for individual elements? Your help is appreciated.

Davis Jebaraj [Syncfusion]
Replied On January 27, 2005 11:50 AM

Hi Adam, The sentence tag is assigned to a UnknownElementImpl element by the HTMLUIControl. This element is not raising any of the standard events raised by BaseElement. I will check with our development team about enabling the standard events for this element type also. Thank you for your patience. Regards, Davis

Adam Flynn
Replied On January 27, 2005 01:24 PM

Does the CustomElementImpl class support these events? Would there be any way to convert these UnknownElementImpl to CustomElementImpl when the document is loaded or prepared by the HtmlUI Control?

Davis Jebaraj [Syncfusion]
Replied On January 28, 2005 03:08 PM

Hi Adam, We have fixed the UnkownElementImpl class to support standard events. We will make this available for download at the earliest. I can send you the new assemblies alone if you need them now. Thanks, Davis

Ning Zhu
Replied On February 14, 2006 04:59 PM

Davis, I would like to download those new fixed assemblies as well. Thanks a lot. jeaning >Hi Adam, > >We have fixed the UnkownElementImpl class to support standard events. We will make this available for download at the earliest. > >I can send you the new assemblies alone if you need them now. > >Thanks, > >Davis

Nandakumar R [Syncfusion]
Replied On February 15, 2006 09:44 AM

Hi Jeaning, Thanks for your interest in Essential HTMLUI. Please create a new Direct-Trac incident for getting the download details of these new assemblies. http://www.syncfusion.com/Support/DirectTrac/logon.aspx?URL=/Support/DirectTrac/default.aspx Thanks for your patience. Regards, Nanda

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.

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.

;