Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to pop up panel on a anchor tag in asp.net
Posted
Comments
hitech_s 11-Oct-11 5:26am    
can u provide the design code of anchor tag?
Pravin Patil, Mumbai 11-Oct-11 5:26am    
Your question seems to be incomplete, please come again with some more information....

1 solution

Try this.It may help you

XML
<script type="text/javascript" language="javascript">

    function ShowPopUp()
    {
    document.getElementById('<%=DivPrint.ClientID %>').style.display="block";
    }
    </script>



By default make the div display property as "none"

For anchor tag write the code like

 <a href="#" onclick="javascript:ShowPopUp()">Click Here</a>
 
Share this answer
 
Comments
soniya sangal 11-Oct-11 7:27am    
sir i want to do search with pop up how i can do???
i have anchor tag search
on this click i want pop up control which have search field, search button
on search butn navigate to next page
soniya sangal 11-Oct-11 8:37am    
what is this here DivPrint.ClientID ??

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