I wont to send a popup message to the web page.

S

Steve Westwood

I have a WebForm button. Depending on calculation I wont to send a popup
message to the web page. I am not sure of the approach. From the server
side code I don't seem to be able to access the client side script. Can
anyone help?



I am using the VS .net C# environment





Thank you,





Steve
 
S

Steve Westwood

private void ButtonChangePassword_Click(object sender, System.EventArgs e)

{

string Message;

Message = Tool.ChangeName(oldName, NewName);

/****Here is where I wont to send a popup to the web page. An Alert would
work fine.

}

How do I send a client side command, from a server side function.


Thank you
 
A

Ali Mazaheri [MCAD]

Use ASP Button's Attributes collection and put the JavaScript for onclick
event.
 

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

Top