Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how to write code for pop up in asp.net using sql store procedure
Posted
Comments
Sunny_Kumar_ 19-Nov-12 1:41am    
please elaborate on what exactly you want to do.
Vani Kulkarni 19-Nov-12 3:47am    
Your question is unclear. Please explain using Improve Question widget.

 
Share this answer
 
Follow this link:

http://www.aspsnippets.com/Articles/Building-Modal-Popup-using-ASPNet-AJAX-ModalPopupExtender-Control.aspx[^]

You can use the normal C# code to retrieve data from sql using stored procedure and display the data in related format in the pop-up window.
 
Share this answer
 
C#
function openOffersDialog() {
    $('#overlay').fadeIn('fast', function() {
        $('#boxpopup').css('display', 'block');
        $('#boxpopup').animate({'left':'30px'},500);
    });
}


C#
<div>
<div id="overlay"></div>
<a  önclick="openOffersDialog();">Click Here To See The PopUp</a>
<div id="boxpopup">Here your code (any Panel)</div> 
</div>


I hope this will help Your work
 
Share this answer
 
v3

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