Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All

Please tell me how to open popup window some text value inside the popup which value come from the database

thanks
Posted
Comments
Sergey Alexandrovich Kryukov 19-Mar-12 2:35am    
What is "model popup"? :-)
--SA

Hello There,

your can use J-query popup plugin for popup window take a look on this URL:-

http://swip.codylindley.com/popupWindowDemo.html[^]
Or
http://www.queness.com/resources/html/modal/jquery-modal-window.html[^]

you can put this plugin in your page and put any control which you want your data(from database) on it and take a Id of that control and assign it.
 
Share this answer
 
XML
Hey,
   u do this using ajax
try following code
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Button ID="btnOpen" runat="server" EnableTheming="False" Text="Open" />
    <cc1:ModalPopupExtender ID="btnOpen_ModalPopupExtender" runat="server" DynamicServicePath=""
        PopupControlID="divPopUp" TargetControlID="btnOpen" CancelControlID="BtnClose"
        Enabled="True" >
    </cc1:ModalPopupExtender>
    <div id="divPopUp" style="height:250px;width:400px; background-color:Aqua;">
        <asp:Button ID="BtnClose" runat="server" EnableTheming="False" Text="Close" />
        This is Popup Window
    </div>
Best luck
 
Share this answer
 

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