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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hover , MVC

Thread ID:

Created:

Updated:

Platform:

Replies:

119248 May 28,2015 06:19 PM UTC May 29,2015 10:26 AM UTC ASP.NET MVC 1
loading
Tags: Diagram
scarymorfeo
Asked On May 28, 2015 06:19 PM UTC

Is it possible to have an hover effect, similar to button on the figures or nodes(BasicShape, FlowShape, BPMNNode) in MVC Extension ?

Shyam G [Syncfusion]
Replied On May 29, 2015 10:26 AM UTC

Hi Scary

Thanks for using Syncfusion products.

We suggest you to use “MouseHover” event to achieve your requirement. We have created the sample from the MVC extension and achieved your requirement in that sample. Please refer the code snippet and sample below.

Codesnippet:

DiagramProperties model = new DiagramProperties();

model.MouseHover = "mousehover";

   function mousehover(args) {

          var diagram = $("#Diagram1").ejDiagram("instance");

           if (args.element.type == "node") {            

           diagram.updateNode(args.element.name, { fillColor: "red" });

        }
    }

Sample:http://www.syncfusion.com/downloads/support/forum/119248/ze/tooltipsample1840856669

Please let me know if any concerns.

Regards,
Shyam G


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

;