Custom WebPart Button On-Click event

Yasmin Saad asked on December 2, 2017 14:55

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. thanks

Recent Answers


David te Kloese answered on December 3, 2017 22:52

Hi Yasmin,

Some questions:

  • What is the exact error you're getting?
  • Is it a Javascript on-click or a .Net postback event?
  • Is the Web Part using an update panel?
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.