I m using Asp.Net 3.5
I want to display pop-up window center of the screen just 2 seconds. It will appear 2 sec. and automatically disappear.
How can I do this with modal pop-up?
I tried this but not hiding after 2 sec ?
function showPanel() {
$find('modal').show();
setTimeout("hidePanel()",2000);
}
function hidePanel() {
$find('modal').hide();
}
</script>
</head>
Sepete Ekle
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="SepeteEkle" PopupControlID="bilgi" DropShadow="true" BehaviorID="modal">