Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to show asp.net code in yes no button
Posted
Comments
bhagirathimfs 20-Jun-12 2:41am    
Use Conform..

Hi ,
Check this
Information, confirmation messagebox[^]
Best Regards
M.Mitwalli
 
Share this answer
 
JavaScript
<script type="text/javascript" language="javascript">

function confirmmsg()
{
    if(confirm('message to display')){return true;}else{return false;}

}
</script>
 
Share this answer
 
 
Share this answer
 
Hi Friend,

In Asp.Net the code is executed on machine of client.
So we have only one messagebox with "Alert". but you can create customized messagebox using Model Popup.

Or you can create a "Div" with position:absolute and keep its display property "none" when you need to show it out then change it to "block"

If you are using AJAX then model popup is the best option.

Thanks,
Chetan
 
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