Tuesday, May 27, 2014

When you use Resharper to make a method for a web forms event...

It, by default, will throw an exception...

private void Whatever_PageIndexChanged(object sender, EventArgs e)
{
   throw new NotImplementedException();
}

 
 

...that ends up coming up in a JavaScript alert box reading:

The method or operation is not implemented.

No comments:

Post a Comment