lamy Posted February 14, 2006 Posted February 14, 2006 (edited) i made a custom alert control (vwd express 2005) out of this, http://slayeroffice.com/code/custom_alert/, i did some alteration on css to support IE browsers without position:fixed, and took off the mispelled (dunno if intensionally) visibility property (no use for this, fixing it wouldnt show the alert) now, my question is this, popping the alert after postback would cause an exception, but it can be resolved by using setTimeout (in js), so i added it, but in some cases where the page would load longer than expected i end up with this error. "Internet Explorer cannot open the Internet site http://localhost:2220/alert/default.aspx Operation aborted" then with a "Cannot find server - The page cannot be displayed" it seems that RegisterClientScriptBlock is called too soon, is there a way to place it at the end of the file, somewhat </html> <script language="javascript"> alert("here"); </script> anyone?customalert.zip Edited February 14, 2006 by lamy Quote slow down when you need to hurry, stop when you need to move on, look back when you need to forget, or you might slip and leave sanity
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.