The OnPropertyChanged Events

The OnPropertyChanged event is fired after a template property has been modified. You can use this event to perform any additional processing or validation for the property that has been changed.

<script runat="template">
protected override void OnPropertyChanged(string propertyName)
{
Response.Write(propertyName + "has changed");
base.OnPropertyChanged(result);
}
</script>