Re: Run Popup without Button
Re: Run Popup without Button
You add the alert javascript to the page from your codebehind using RegisterStartUpScript
However Javascript alerts aren't exactly nice to look at or user friendly as you have to click a button to get rid of it, so I'd definitely consider using something else such as updating a label with your message.
EDIT: Sorry I assumed by pop-up you meant a javascript alert but that might not be the case. If you mean opening another browser window I would definitely recommend using something else as a lot of users would find that more annoying than a javascript alert..
Re: Run Popup without Button
Hey,
I think it would help if you were to show us the code that you are using.
I have to agree with FishCake on JavaScript alerts.
Are you actually doing a PostBack to the server when you want the "popup" to appear? Something has to initiate the "popup".
Gary