Yogesh Hosur

Yogesh Hosur

  • NA
  • 1
  • 910

Modalpopup gets call again on page refreshing.

Oct 30 2014 9:38 AM
Hello all,
 
I have modal popup extender in my asp.net page. In that modalpopup i have button control named Add. When i submit the records clicking on Add button and close the modal popup extender. And suppose i refresh the page, again that same button click event 'Add_Click' from modalpopup gets called and same records are inserted into database. In database the primary key is identity. So i want to avaoid this through code behind. Please suggest me any idea.
 
Thank you very much in advance.
 
Best Regards,
Yogesh