protected void lnkCustDetails_Click(Object sender, CommandEventArgs e) { // Fetch the customer id cRefere.setLoadShowModal(this.Parent, e.CommandArgument.ToString()); // ModalPopupExtender1.Show(); }