Application Center Usage - Handling ASP.NET form postback

This is Interesting: Free IT Magazines  
Home > Archive > Application Center Usage > August 2004 > Handling ASP.NET form postback





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Handling ASP.NET form postback
Ping

2004-08-29, 5:49 pm

I want to test my asp.net web applicatin with
ACT.
My application need user to fill in a form
and then submit back to the server for some
processing.
But the problem is that how can i simulate
the form postback to server.
I try to put the data postback (caused by button1)
to server together with the hidden variable needed:
1. __VIEWSTATE
2. __EVENTTARGET
3. __EVENTARGUMENT
(the request.body like:
__EVENTTARGET=Button1&__EVENTARGUMENT=&
__VIEWSTATE=xys& name1=value1&name2=value2...
but this don't trigger the corresponding click
event handler, say button1_click...

what should i do?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com