I have an HtmlPanel with some HTML in it.
When I hover over foo2 element, I would like to perform a task (popup some info).
I can do this easily when an element is clicked via HtmlPanel.ElementClick event and its HtmlPanelElementClickArgs parameter.
However, that doesn’t work with hover. I tried MouseEnter, MouseLeave and MouseHover events and those just pass EventArgs without any information about what is underneath.
How can I implement hover functionality?
P.S. colleague tried filing support ticket on github, but no one seems to be answering there.
Hi Matthew,
This was our answer to your support ticket:
Wisej doesn’t know anything about the content of the HTML. The click you get is because there is a generic js handler in the HtmlPanel control in Wisej that captures the event and fires it on the server. There is nothing in HTML or any other framework that wires js events to the server.
To achieve this you have to attach a JS handler and fire a server event.
I have attached a sample to demonstrate the process.
Best,
Alaa
Please login first to submit.