Here is the javascript function
Code:
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
There are two hidden fields __EVENTTARGET and __EVENTARGUMENT in the form.
I would want
1) to get those fields
2) change them accordingly
3) force the page to postBack
Can I do this with GET/POST methods from the HttpWebRequest? This is a whole new field from me