471,328 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

HttpWebRequest - ASPX page.ispostback is false.

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.
Jul 21 '05 #1
1 2113
u can't.

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"John Blair" <jo********@hotmail.com> wrote in message
news:im************@newsfe4-gui.ntli.net...
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.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Stevie_mac | last post: by
9 posts views Thread by buran | last post: by
1 post views Thread by Jeff B | last post: by
1 post views Thread by sfoxover | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.