View Single Post
  #7 (permalink)  
Old January 7th, 2008, 10:58 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Quote:
quote:Originally posted by mujahidkhaleel
 You cannot do POST to a ASP.NET page from ASP. The ASP.NET page will not find the server side controls and thus not allow POST values.

This is not true. You most certainly can post any html form regardless of where it comes from to an ASP.NET page. Yes, the ASP.NET page will not find control instance values from the posted form, or at least they won't be valid if they are there, but you can access the raw form as this use is demonstrating. You'll need to know the form fields (such as the hidden fields in this case) and you can get their values from the forms collection just like we would in classic ASP.

What the OP is trying to do should work, but isn't.

-Peter