1

I have implemented the handling of the AsyncPostBackError. Now I want to test it.

How do simulate a AsyncPostBackError event?

Larry
  • 989
  • 4
  • 12
  • 25

1 Answers1

2

You could simply throw an exception in the serverside method that is being called async. That should raise your handling of the AsyncPostBackError.

Forgotten Semicolon
  • 13,909
  • 2
  • 51
  • 61