Mar 22, 2007 09:32 AM|Mainship|LINK
I have a poll on an ASP site that I'm converting to .NET 2.0. The poll is written as an include file, intended to be embedded in an asp page. It's not compatible with ASP.NET 2.0. It's not my code, I don't have the time to rewrite it, and want to replace
it anyway. The conversion needs to go live ASAP, so I don't have the time to find/work on a replacement. So I put the include code into it's own asp page and used HttpWebRequest and HttpWebResponse to scrape it.
The problem is the aspx page refreshes when I click the vote button instead of going to the results page, even though the vote button is from the asp page. Since the code for the vote button is in asp and not aspx, I don't know how to get around this.
The results page is also written asp, I was intending to scrape that also, but I somehow need to be able to get to it when the vote button is clicked on.