API Questions on Kentico API.
Version 6.x > API > Alternative Forms Event Handler View modes: 
User avatar
Member
Member
leandro.alves - 3/19/2012 9:50:13 AM
   
Alternative Forms Event Handler
Hi,
I'm doing a alternative form for a user profile edition, and I need to handle the event OnFormSubmit.
Is there any way to Handle the click event on button submit of the form?
I'm using the webpart My Profile, to generate dinamicly my alternative form.


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/20/2012 4:43:34 AM
   
RE:Alternative Forms Event Handler
Hi,

You can use the custom data handler and one of its events. It checks everything what is being saved to the DB - so you just need to filter out your user profile changes in the event you like.

Best regards,
Juraj Ondrus

User avatar
Member
Member
leandro.alves - 3/20/2012 5:00:54 AM
   
RE:Alternative Forms Event Handler
Hi,
Thanks for your answear.
I already solved the problem, using MyDataForm.OnAfterSave event handler.

Best regards,
Leandro Alves