c# - Popup when a link is clicked -


is a link I need a popup. But the page is self-load, is shown popup in the bottom of the page I want it to show up only when the link is clicked. Where am I wrong ?? Please help me guys! I am a learner! Thank you very much

  & lt; CC1: ConfirmButtonExtender DisplayModalPopupID = "ModalPopupExtender4" id = "ConfirmButtonExtender4" runat = "server" TargetControlID = "lnkremoveloc" enabled = "false" OnClientCancel = "RemoveLocations" & gt; & Lt; / CC1: ConfirmButtonExtender & gt; & Lt; CC1: ModalPopupExtender id = "ModalPopupExtender4" OkControlID = "btnDisable" CancelControlID = "btnCancel" BackgroundCssClass = "modalBackground" PopupControlID = "pnlRemove" TargetControlID = "lnkremoveloc" runat = "server" & gt; & Lt; / CC1: ModalPopupExtender & gt; & Lt; Asp: Panel CssClass = "modalPopup" id = "PnlRemove" runat = "server" & gt; & Lt ;! - Normal popup control start - & gt; & Lt; Table class = "tbl Comnpop" width = "400" cellpadding = "0" cell spacing = "0" & ​​gt; & Lt; TR & gt; & Lt; Td square = "top-left" & gt; & Lt; / TD & gt; & Lt; Td class = "topmill" & gt; & Lt; / TD & gt; & Lt; Td square = "topright" & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td colspan = "5" class = "middle" align = "center" & gt; -% & gt; & Lt ;! - Content area start - & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; Td colspan = "1" style = "padding-top: 10px;" Title = "select" & gt; & Lt; / TD & gt; & Lt; Td colspan = "4" style = "padding-top: 10px;" Title = "location name" & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td align = "center" colspan = "5" & gt; & Lt; Input id = "btn inactive" type = "button" value = "disable" class = "popup button" /> & Lt; Input id = "cancel" type = "button" value = "cancel" category = "popupButton" /> & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt ;! - End of content area - & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td square = "downwards" & gt; & Lt; / TD & gt; & Lt; Td square = "ground floor" & gt; & Lt; / TD & gt; & Lt; Td square = "bottom right" & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt ;! - Normal popup control end - & gt; & Lt; / ASP: Cell & gt;  

Changes

  & lt; ASP: panel id = "pnlPagePopup" style = "display: none;" Runat = "server" & gt;  

  & lt; ASP: panel id = "pnlPagePopup" visible = "false" runat = "server" & gt;  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -