So I'm developing a .NET desktop application for ArcGIS in VB. As a new part of the application I have developed an SVG / Javascript map as a 'loading screen' where you select your dataset to load into ArcMap. This map is currently held in a html doc and displayed in an html viewer in a windows form. My question is this:
Is it possible for javascript events/functions in my web map to fire .NET code in my application? Can I pass variables from javascript to .NET? Etc...
I imagine this will be quite tricky if possible, as you won't want any old javascript on a website to start messing with your running .NET applications. I'm willing to hack this all together if there's a way.
Thanks.
EDIT: To be clear, this is not an ASP.NET (server side) web application, this is a purely vb.net desktop application. So I think AJAX / Postback solutions won't work in this case.