NUnitAsp

ControlTester.OptionalPostBack Method 

Like PostBack, but doesn't fail if candidatePostBackScript doesn't contain a post-back script.

protected void OptionalPostBack(
   string candidatePostBackScript
);

See Also

ControlTester Class | NUnit.Extensions.Asp Namespace