Hoser
Hoser

Reputation: 749

Send message to .NET app from javascript?

I'm working on a help system in HTML, and I'd like to have links that the user can click to execute commands inside an application written in .NET (eg, to complete steps in a tutorial or workflow). I've looked at the TCard() method for HTML help, but it only works in compiled help (.chm), and I'd like to do this in plain html that can be viewed from browsers other than IE.

Is this possible? If so, what would be the simplest/best way to do this?

Upvotes: 0

Views: 632

Answers (2)

overslacked
overslacked

Reputation: 4137

If you're doing this on Windows only, you might want to take a look at a custom application protocol. The page could link to "myhelp3000:LoadStage(2)" and your app could do something special in response.

Upvotes: 0

Keltex
Keltex

Reputation: 26436

You can use asp.net ajax web services. Here's a tutorial:

http://www.asp.net/Ajax/Documentation/Live/tutorials/ASPNETAJAXWebServicesTutorials.aspx

Upvotes: 1

Related Questions