I have code on aspx page :
<input id="imgBtnUpdate" type="image" src="../images/update_btn.gif" value="Update" onclick="javascript:showModalPopupUpdate();"/>
also Script is :
var popUpObj11;
function showModalPopupUpdate() {
popUpObj11 = window.open("AddPopup.aspx?mode=Update",
"ModalPopUp",
"toolbar=no," +
"scrollbars=no," +
"location=no," +
"statusbar=no," +
"menubar=no," +
"resizable=no," +
"width=450," +
"height=190," +
"left = 490," +
"top=300"
);
popUpObj11.focus();
}
Ok? When i clicking the imgBtnUpdate Button. it showing me popup which is fine. but why it reloading the parent page on which the button consisting ? please guide me... tell me solution.