HttpWebRequest - ASPX page.ispostback is false.

J

John Blair

Hi,

I post data to a url using HTTPWebRequest - my intention is to simulate user
entry post back - however in my aspx code page.ispostback is false and
textbox1.text say is empty but request.form("textbox1") has the data that i
assigned i.e. the posted data gets to the page ok. How can i "fool" the aspx
page into thinking this is a postback as i want the existing code in the
form to access the posted data via textbox1.text i.e. much like it was
entered from a user and submitted.

Also any pointers to good coding examples of using HTTPWebRequest would be
appreciated especially one that shows me how to activate a button click
event on the page. Thanks.
 
A

Alvin Bruney [ASP.NET MVP]

u can't.

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top