Results 1 to 2 of 2
Thread: Calling ASP.net from Classic ASP
Mar 27, 2011, 08:37 #1
- Join Date
- Jun 2009
- Sofia Antipolis
- 0 Post(s)
- 0 Thread(s)
Calling ASP.net from Classic ASP
I am new to ASP and ASP.net.
I have just started working on a legacy ASP classic project and been given a sample that makes a remote call in ASP.net.
Is it possible to call the ASP.net page from ASP?
Are you they compatible.
My impression so far is that they aren't compatible, but perhaps. I'm wrong.
I mean the .net project could be called with parameters and kept seperate I guess?
Does anyone have any experience with similar problems or have any tips they can share?
Mar 31, 2011, 08:44 #2
You can not call asp.net function from .asp page.
Try using AJAX.
I ran into a similar problem a few years back and what I did was, from ASP page I passed variables to .ASPX page and after executing script at .ASPX page passed variable again to same ASP page and used if-than-else to execute the remaining ASP script.