For UI Event Registration with template