I have a html svg map , when I click a city of map , I want to get id clicked of city (<g id>)
I attacted a small sample , please help me this topic
Thanks
Hi,
it should read
var form = App.Desktop;
(not MyDesktop).
And you need to declare the WebMethod in Desktop.cs like you did in Window.cs
Then your sample works fine for me.
Best regards
Frank
Crome console error attacted ,
I think var form = App.MyDesktop; line wrong on desktop page.
Thanks for helps
Thanks Levie
Your sample is work but , when I iframe put on any panel , it dosen’t work.
I attached a sample
Thank you very much for help
Hi,
The best way to do this is to create a click handler for the iFrame element that calls a WebMethod (and passes an id parameter) in your code. You can add this in the ClientEvents property of the iFramePanel.
I attached your sample with the implemented feature. Please let me know if it works for you.
Best regards,
Levie
Please login first to submit.