J
Johno
Whenever you drop a linkbutton on an ASP.NET web form,
the following script gets emitted:
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value =
eventArgument;
theform.submit();
}
However, when I check the call to __doPostBack() executed
when the linkbutton is checked, only the eventTarget
argument is specified, even though the linkbutton has
it's CommandArgument property set.
What's the purpose of the .__EVENTARGUMENT field in
relation to server-side postback controls?
TIA
John
the following script gets emitted:
function __doPostBack(eventTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENTTARGET.value = eventTarget;
theform.__EVENTARGUMENT.value =
eventArgument;
theform.submit();
}
However, when I check the call to __doPostBack() executed
when the linkbutton is checked, only the eventTarget
argument is specified, even though the linkbutton has
it's CommandArgument property set.
What's the purpose of the .__EVENTARGUMENT field in
relation to server-side postback controls?
TIA
John