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
it should read
var form = App.Desktop;
And you need to declare the WebMethod in Desktop.cs like you did in Window.cs
Then your sample works fine for me.
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
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.
Please login first to submit.