Passing parameters between Java Script and C#
-
I have written a mathematical application in C# that I wish to be made available to a classic ASP application that relies heavily on client side Java Script. The concept of my application is that of a proprietary web service. It appears now that the client side Java Script in the ASP application must pass two parameters to my application. Does anyone have an idea of the easiest way to do this? Gary Hyslop
-
I have written a mathematical application in C# that I wish to be made available to a classic ASP application that relies heavily on client side Java Script. The concept of my application is that of a proprietary web service. It appears now that the client side Java Script in the ASP application must pass two parameters to my application. Does anyone have an idea of the easiest way to do this? Gary Hyslop
Hi, U mean that from the javascript you need the values to you C# application right....! Tell me whether you are insterested to keep that javascript into the server side code and execute it...! If you are really insterested to keep tha javascript code in to the server side then it will be possible for sending the parameters to your application. .Net provides fexibility to writting the javascript at server side code. tell me your response to this...! regards, Sukesh.g
-
I have written a mathematical application in C# that I wish to be made available to a classic ASP application that relies heavily on client side Java Script. The concept of my application is that of a proprietary web service. It appears now that the client side Java Script in the ASP application must pass two parameters to my application. Does anyone have an idea of the easiest way to do this? Gary Hyslop
-
I have written a mathematical application in C# that I wish to be made available to a classic ASP application that relies heavily on client side Java Script. The concept of my application is that of a proprietary web service. It appears now that the client side Java Script in the ASP application must pass two parameters to my application. Does anyone have an idea of the easiest way to do this? Gary Hyslop
It seems that is what is needed is that code in the classic ASP server process needs to call the method in my .NET dll. The literature refers to the process whereby a COM object invokes a method in a .NET assembly which has been duly registered using REGASM. I have no experience with pre- ASP.NET web development. I haven't seen any of their server side code but I know it is written in lightwieght languages (e.g. VBScript or at best VB v.6). Exactly what would I have to provide in their classic ASP server space to allow them to call my method with parameters they have obtained from their "client-side" JavaScript? I should not be necessary that an ASPNET server process be running when the call is made -- just that my dll be duly regsisterd. Gary Hyslop