Doubt

bsk

Joined
Jan 19, 2009
Messages
4
Reaction score
0
Need to display a value using response.write in C# in an alert window.

I used the following syntax but it doesnt work. Can any body please help me with that?

Response.Write("<script>window.alert('welcome: '+currentUser)</script>")

I want to display welcome: current user on the message box.

Please reply me asap

Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,245
Latest member
ShannonEat

Latest Threads

Top