Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi
i want to show popup alert type box and hide background and then after user clicks,ok, i want to redirect to previous page

how is this possible in asp.net code

regards
Posted
Updated 24-Nov-13 20:08pm
v2
Comments
Dholakiya Ankit 25-Nov-13 2:08am    
Use modalpopup
maulikshah1990 25-Nov-13 2:12am    
thanks,,but can u give proper example

1 solution

C#
<pre lang="xml"><asp:HiddenField ID="hd_sno1" runat="server" />
               <asp:HiddenField ID="hd_branch" runat="server" />
               <asp:ModalPopupExtender ID="MPEGoodsConfirm" runat="server" TargetControlID="hd_sno1"
                   PopupControlID="pnlgoodsrec" RepositionMode="RepositionOnWindowResizeAndScroll"
                   BackgroundCssClass="modalBackground" CancelControlID="btnxcancelgoodsrec" PopupDragHandleControlID="pnlgoodsrec" />
 
Share this answer
 
Comments
maulikshah1990 25-Nov-13 2:40am    
I need example which can be used in asp.net code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900