Handling ASP.NET form postback
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Application Center > Application Center Usage > Handling ASP.NET form postback




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Handling ASP.NET form postback  
Ping


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register