Hi,
I am using Infragistics version 8.1. In this version, for the UltraWebTree , is there a way to handle the Double Click event from the server side. I found the Clientside event for the double click of the node. It works fine. But I need to handle this event in the server side. Please help me , how to do that.
Thanks & Regards
Srihari Reddy .R
Yes, the event is indeed publicly not exposed. I suppose that the Reddy used BeforeBeginNodeEdit (first he enabled node editing) - this fires on double click and always returned true from the event handler (returning true cancels the edit event). He then proceeeded with the workaround I suggested.
I think this could probably work.
bump bump anyone"?
How did you find the double click event in the ultrawebTree,
What is it? I am currently searching for that right now also..
Thanks in advance
Hi Rumen,
Thanks for the reply. Using a hidden button I am able to do that.
Regards
Hello Srihari,
Unfortunately this event is not exposed server-side. However, there is one little trick that may work in your case. You can place a hidden button on the page, subscribe to its Click event and fire it with javascript from the TreeView DoubleClick client-side event. This way, the Button.Click event handler will be fired on node double click.
Example:
<asp:button runat="server" ID="Button1" OnClick="ClickEventHandler" style="position:absolute; top: -100px; left: -100px" />
...
// execute this from the client side double click event handler
var button = document.getElementById("<%= Button1.ClientID %>");
button.click();