Ive tried everything my pop-up will not hide on button click?
Protected Sub btnpopupOK_Click(sender As Object, e As System.EventArgs) Handles btnpopupOK.Click
mpe.Hide()
txtItemID.Text = ItemGridView.SelectedRow.Cells(0).Text
LoadItemInfo()
SqlDataSource3.SelectCommand = "SELECT [ITEMID], [DSC], [ACTIVE] FROM [ITEM] ORDER BY [CRDT], [CRTM], [ITEMID]"
ItemGridView.DataBind()
ItemGridView.SelectedIndex = -1
pnlUser.Visible = True
pnlTopSection.Visible = False
pnlButtons.Visible = True
btnDelete.Visible = True
End Sub
<asp:ModalPopupExtender ID="mpe" runat="server" DynamicServicePath="" Enabled="True"
PopupControlID="pnlPopup" BackgroundCssClass="modalBackground" TargetControlID="btnitmselection">
</asp:ModalPopupExtender>
& ...
Go to the complete details ...