Google Answers Logo
View Question
 
Q: SVG Event Handling and C# ( No Answer,   2 Comments )
Question  
Subject: SVG Event Handling and C#
Category: Computers > Programming
Asked by: pavo-ga
List Price: $20.00
Posted: 21 Jun 2006 21:28 PDT
Expires: 20 Jul 2006 19:22 PDT
Question ID: 740104
I have embedded an IE WebBrowser control inside a windows C# form. I
am using the WebBrowser control to load in an svg document. I was
wondering if there is any way to register methods in my C# form to the
svg document events? I want to be able to listen to svg "onmouseclick,
onmouseover, etc." events occuring within the svg document in my
WebBrowser control and trigger a method call present in my C#
application. Thanks.
Answer  
There is no answer at this time.

Comments  
Subject: Re: SVG Event Handling and C#
From: mrshrinkray-ga on 23 Jun 2006 04:36 PDT
 
Are these events available to you as Javascript or Active-X events, if
you run the SVG file inside IE?
Subject: Re: SVG Event Handling and C#
From: pavo-ga on 23 Jun 2006 10:44 PDT
 
Hi mrshrinkray,

When I run the SVG file inside IE, the SVG document itself provides
events ("onmouseover, onmouseclick, onzoom, etc.") that I can listen
to and handled by JavaScript. This I have been able to do, but I am
having difficulty figuring out a way for my C# application to handle
these SVG events.

Thanks.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy