Click here to Skip to main content
15,889,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

For every 15 min I will refresh my web page.
On page load I will be checking a condition. If a condition is statified then
I want to display a little pop up window with a static content.
Kindly suggest.

Regards,
AP
Posted

1 solution

You could do the following

In Asp.net, after checking the condition you could create a small javascript function with alert('msg') and using RegisterClientScript you could put it on the page.. In the html page load event (html event) call this javascript function you created from Asp.net. If the function existed it will show the message otherwise it will not do anyting..

Refer this codeproject url for how to use RegisterClientScript

Use & Call RegisterStartUpScript, RegisterClientScript and Client-Side Script[^]
 
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