added AfterParse and support for multiple controls on the same page