Whenever you drop a linkbutton on an ASP.NET web form,
the following script gets emitted:
function __doPostBack(ev entTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENT TARGET.value = eventTarget;
theform.__EVENT ARGUMENT.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 .__EVENTARGUMEN T field in
relation to server-side postback controls?
TIA
John
the following script gets emitted:
function __doPostBack(ev entTarget, eventArgument) {
var theform = document.Form1;
theform.__EVENT TARGET.value = eventTarget;
theform.__EVENT ARGUMENT.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 .__EVENTARGUMEN T field in
relation to server-side postback controls?
TIA
John
Comment