NUnitAsp

WebFormTester.OptionalPostBack Method 

Like PostBack, except that it does nothing if candidatePostBackScript doesn't contain a post-back script.

public void OptionalPostBack(
   string candidatePostBackScript
);

See Also

WebFormTester Class | NUnit.Extensions.Asp Namespace