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
Answers
Know the answer? Post it. Somebody with the same question will find it here.