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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show popup when Node is doubleclicked?

Thread ID:

Created:

Updated:

Platform:

Replies:

104901 Aug 27,2012 08:13 PM UTC Sep 26,2012 10:55 AM UTC ASP.NET Web Forms (Classic) 4
loading
Tags: DiagramWebControl
DUPLICATELuong Chau
Asked On August 27, 2012 08:13 PM UTC

I am trying to use the tools package's Windows and PopupControlContainer with DiagramWebControl. I want to display the popup when a node is doubleclicked. The popup needs to display the node's Text and Type. How can I do that?

Pandi Murugan A [Syncfusion]
Replied On August 29, 2012 12:50 PM UTC

Hi Luong,

 

Thanks for using Syncfusion products.

 

You can use DiagramWebControl’s OnClientNodeDoubleClick event to popup a container in client side.

 

Please refer the below UG document for more details.

 

http://help.syncfusion.com/UG/User%20Interface/ASP.NET/Diagram/documents/515howtoshowapopupwindowtodisplaythenodesinformationwhenanodeisclicked1.htm

 

ClientSide Node Information Sample: http://asp.syncfusion.com/demos/ui/diagram/Getting%20Started/Node%20Editing/CS/NodeEditing.aspx

 

For PoupContainer, please refer the below sample.

 

http://asp.syncfusion.com/demos/ui/tools/PopupContainer/Core%20Features/cs/PopupCoreFeature.aspx

 

Please let me know if any concerns.

 

Regards,

Pandi Murugan A


DUPLICATELuong Chau
Replied On August 29, 2012 08:23 PM UTC

I followed your advise and the Window Attributes sample. I can get it to pop a window from Diagram's OnClientNodeDoubleClick(), but the window's Refresh() method does not work. The textbox in the Window is not updated.

I can get the textbox update if I click on a button. Just can't get it to populate if click on a Node.


WebApplicationDiagram_b628e296.zip

Pandi Murugan A [Syncfusion]
Replied On September 4, 2012 01:12 PM UTC

Hi Luong,

 

Thanks for the update and we regret for the delay in getting back to you.

 

The reported issue belongs to our Tools ASP.NET Window control.  We have forwarded this to ASP.NET Tools team and they will assist soon.

 

Please let me know if any concerns.

 

Regards,

Pandi Murugan A


Meena [Syncfusion]
Replied On September 26, 2012 10:55 AM UTC

Hi Luong,

 

Sorry for the delay in getting back to you.

 

From the attached sample, we have found that “return false” has been missed in the OpenWindowCtrl() client side function. To recover the reported issue “textbox not getting updated on node double click”, we suggest you to return false from that function. Please refer the below code snippet.

 

<code>

[Script]

  function OpenWindowCtrl(node) {

  

          $find('<%=this.Window1.ClientID%>').SetStatusText("Loading..");

          $find('<%=this.Window1.ClientID%>').Refresh();

          $find('<%=this.Window1.ClientID%>').Open();

          return false;

       }

 

</code>

 

Kindly try the above suggestion and let us know if it helps.

 

Regards,

Meena


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.

Warning Icon 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.Close Icon

;