I am developing an application in ASP.Net using C#. In my page i am using JQuery and bootstrap for modal popup display. I have taken some html button for display popup. But I am facing a problem to display modal popup. When I am clicking on the button modal popup is showing and page is getting refreshed. I don't know why is page getting refreshed. as per my knowledge JQuery works at client side.
Please look at the following code of buttons.
<a id="editPhoto" class="btn btn-primary btn-sm" onclick="gen_all_es()" style="width:100%; margin-bottom:5px;" href="jcorp.aspx?paramControl=imagePhoto&responsePage=DesignCenter_Static.aspx&templateName=5">Add / Modify Photo</a>
<button id="editDesignation1" class="btn btn-primary btn-sm" style="width:100%; margin-bottom:5px;" data-target="#selectDesignation1_Modal" data-toggle="modal">Select Designation 1</button>
<button id="editDesignation2" class="btn btn-primary btn-sm" style="width:100%; margin-bottom:5px;" data-target="#selectDesignation2_Modal" data-toggle="modal">Select Designation 2</button>
<button id="editUploadLogo" class="btn btn-primary btn-sm" style="width:100%; margin-bottom:5px;" data-target="#selectLogo_Modal" data-toggle="modal">Select & Upload Logo</button>
Please help.