How to make a call from .cs file to a javascript funtion in aspx(source)?

Posted by Naga116 under C# on 7/25/2011 | Points: 10 | Views : 1724 | Status : [Member] | Replies : 1
How to make a call from .cs file to a javascript funtion in aspx(source)?

Nagaraju


Responses

Posted by: Ndebata on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
Hi
You can use some thing like this
Page.ClientScript.RegisterStartupScript(this.GetType(), "sometext", "<script>alert('Hello');</script>");


Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response