Hey guys ,
I've created a custom webpart to register a new user. I added a button to register and on-click event register I write my code . when I add the web part to kentico it gives my error loading the webpart ,when I remove the on-click event it works fine . How I could solve this and I need to write the code inside the event.