Better to use captured event handler values instead of simply referring to OnClientCreated twice.

```
var handler = OnClientCreated;
if (handler != null)
{
   // ...
   handler(this, args);
}
```