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
85
Ultrawebtree delete node
posted

Hi All

I want to get javascript popup when user delete some node.

 Thanks in advance

  • 28464
    posted

    Hello,

    Well it really depends on your scenario. I guess that you want to delete the currently selected node when a button is clicked?

    You can use the confirm javascript methods for that - it will display a "Yes" / "No" dialogue, e.g. here is a good example for that

    for example:

    <asp:Button runat="server" ID="DeleteButton" OnClickClick="confirm('Do you want to delete selected node')" Text="Delete Selected Node" />

    You can also see a forum thread that employs a similar technique (although for another component) here:

    http://forums.infragistics.com/forums/p/6830/28551.aspx