Cetin,
Thank you very much for your suggestion. I will try it. And sorry for the delay in replying, I was out of town for a couple of days.
>Dmitry,
>You're using javascript which like C,C# needs ; as statement end.
>
>Response.Write(@"<SCRIPT language=javascript>alert(""Coffee is ready"");</SCRIPT>");
>
>Cetin
>
>>I want to place an alert window and then, once user clicks ok, continue with the code.
>>
>>Here is my code of the alert window:
>>
>>
>>// come code goes here
>>Response.Write(@"<SCRIPT language=javascript>alert(""Coffee is ready"")</SCRIPT>");
>>// continue with the code ...
>>
>>
>>But the only way I see this message if I put
>>
>>
return;
>>after it.
>>
>>If "return" is not there, the alert window never shows.
>>
>>Any suggestions? Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham