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.
Unfortunately, activation email could not send to your email. Please try again.

Hover , MVC

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 06:26 AM

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.

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.

;