ControlTester.PostBack Method (String)

Trigger a post-back. ASP.NET has a post-back idiom that often shows up as a Javascript "__doPostBack" call. This method exists to make it easy to write testers for controls that do so. Just take the string that contains the post- back script and pass it to this method. Use OptionalPostBack if the script isn't always present.

protected void PostBack(
   string postBackScript

See Also

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