Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listening to .net events in Javascript

Status
Not open for further replies.

Navitas

Programmer
Jul 20, 2004
24
0
0
GB
Hi,

I'm having trouble with something that appears pretty straightforward!! That usually either means I've done something really stupid, or have seriously under-estimated the effort required to get this working!! [ponder]

Anyway I have created a COM Class in VB.net so that it can be invoked in an HTML page. This class can raise events - using :
Code:
Public Event PolicyInfo(ByVal status As String)
so I have created a callback function using Javascript to listen for the events being fired :
Code:
  function NavListener::PolicyInfo(Status)
{}

after previously invoking the COM Class as NavListener as an HTML Object earlier in the code.

I don't get any error messages - but I also don't get any events fired.

I can't find anything on the web for this particular scenerio so any help would be really useful.
 
perhaps you should try the asp.net or the html forums perhaps even the javascript ones.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top