08-29-04 10: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?
[ Post a follow-up to this message ]
|