NUnitAsp

WebFormTester.PostBack Method (String, String)

Emulates ASP.NET's post-back script. To simply submit the form, use Submit instead. If you have access to the JavaScript call string, use OptionalPostBack or the other form of PostBack.

public void PostBack(
   string eventTarget,
   string eventArgument
);

Parameters

eventTarget
The "event target" parameter for the post-back script.
eventArgument
The "event argument" parameter for the post-back script.

See Also

WebFormTester Class | NUnit.Extensions.Asp Namespace | WebFormTester.PostBack Overload List