Sign in | Join
Last post 05-15-2008 12:32 PM by NC01. 7 replies.
Sort Posts: Oldest to newest Newest to oldest
Hi frinds I need the code urgernt in ASP.net please can anyone help me out from this problem..
right now i am using this one to display the error messagebox with ok(button)...
now I need if we press ok we need to close the window. there so can you tell me how I need to get this one done
ASAP,,
thanks
Try this:
Page.ClientScript.RegisterStartupScript(this.GetType(), "myAlertBox", "if ( window.confirm('Close this window?') ){window.close();}", true);
NC...
Thanks for u r reply..
So where I need to write the alert("user not exists "); like that
srachuri: Thanks for u r reply.. So where I need to write the alert("user not exists "); like that thanks
I don't understand the question.
Thanks Sir I got it..
one more thing If I need to show the message in bold what should I do sir..
thanks for your infoo
You can't. The built in browser message boxes etc can not be altered.
Is ther any way that we can show some kind of www.yahoomail.com in the messagebox like this link..
like it should be link if they click this link.. like that..
You would have to create your own message boxes. It is not really easy, but here is some help:
http://www.subimage.com/dhtml/subModal/http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm