Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Double Click event in UltraWebTree
posted

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

Parents
No Data
Reply
  • 28464
    posted

    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(); 

    ... 

Children