How to execute javascript function from BHO
-
Hi I have developed a toolbar which needs to invoke a javascript function based on some criteria on specific web page. To be simple, I want to know how to invoke javascript from BHO(using C#). I have done everything already but just this one needs help. Thanks in anticipation Mujtaba Panjwani
-
Hi I have developed a toolbar which needs to invoke a javascript function based on some criteria on specific web page. To be simple, I want to know how to invoke javascript from BHO(using C#). I have done everything already but just this one needs help. Thanks in anticipation Mujtaba Panjwani
We have an ASP.NET forum.
MAP Tiger wrote:
I want to know how to invoke javascript from BHO(using C#).
You need to do some reading, you obviously don't know what ASP.NET is, or what it does. Specifically, C# runs on the server, js on the client. To run js code, you need to inject it into the page.
Christian Graus Driven to the arms of OSX by Vista.
-
We have an ASP.NET forum.
MAP Tiger wrote:
I want to know how to invoke javascript from BHO(using C#).
You need to do some reading, you obviously don't know what ASP.NET is, or what it does. Specifically, C# runs on the server, js on the client. To run js code, you need to inject it into the page.
Christian Graus Driven to the arms of OSX by Vista.
Hi Thanks for the reply. If you could read clearly what I said in my question which clearly states that I am running it from BHO (Browser Helper Object) which of course means that the javascript function is already injected in the code but when that specific page is loaded in the browser then the BHO has to invoke that specific javascript function. Regards,
MAP Tiger Tiger Softwares Software Designer and Developer VB.NET, ASP.NET, VFP
-
We have an ASP.NET forum.
MAP Tiger wrote:
I want to know how to invoke javascript from BHO(using C#).
You need to do some reading, you obviously don't know what ASP.NET is, or what it does. Specifically, C# runs on the server, js on the client. To run js code, you need to inject it into the page.
Christian Graus Driven to the arms of OSX by Vista.
-
Map Tiger, Did you ever get an answer to this? If so, do you have any code samples? Thanks,